Previos commit added html new line every 1024 bytes, this commit properl...

Previos commit added html new line every 1024 bytes, this commit properly replaces every \n with <br> . Also this commit prevents  printing topic name every 1024 bytes which caused a break in output before. These are required especially if you are tailing logs, you dont want random string of topic name to appear in middle of your logs