modification for feature 'swap crlf with <br>s '

Jul 19, 2010 at 3:21 PM
Edited Jul 19, 2010 at 3:25 PM


I think this plugin is on the best wlw plugin for syntaxhighligher. 

I have a problem using the "swap crlf with <br>s". When I send rss with code, several rss softwares ignore the \n in the code and it looks like a  long line instead of multiple lines.

I tried using the feature 'swap crlf with <br>s". To support it in SyntaxHighlighter I lit  the flag "stripBrs" in the config object. Now it looks good in rss softwares but not in my blog site using syntaxHighlighter since it looks for the  \n (newline) to break lines.

In order to solve it i think the feature "swap crlf..." should be modified to "add <br>s to crlf".

Do you know about other solution?