开发者

Remove extra blank lines from SyntaxHighlighter

开发者 https://www.devze.com 2023-03-28 17:54 出处:网络
I\'m using SyntaxHigh开发者_开发知识库lighter in my blogger blog. But since few days it adds extra blank lines in my code. It only happens to new posts only. Can anyone please tell me how to remove th

I'm using SyntaxHigh开发者_开发知识库lighter in my blogger blog. But since few days it adds extra blank lines in my code. It only happens to new posts only. Can anyone please tell me how to remove these extra blank lines. I saw similar question. But it does not clearly answered. Thanks in advance.


This not exactly an issue with the SyntaxHighlighter - recently the blogger adds the <br /> tag for the ENTER.


Or use HTML encoder. There are some sites that encode HTML. Use them before posting to blog.


If we just copy and paste from windows notepad the blogger adds <br/> tags twice for cr and lf. So don't just copy and paste from notepad. Use blogger draft editor if it is really wanted.


Use the newest version of the syntaxhighlighter

0

精彩评论

暂无评论...
验证码 换一张
取 消