Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

correcting linebreaks inside pre tags

edited August 2011 in Vanilla 2.0 - 2.8
hello there,

I just installed Vanilla 2 and I'm having problems with PRE tags when using default Html InputFormatter... too many BR tags are created inside it and source codes aren't well presented.

I'm fixing it by including on global.js file the code
$('\r').insertAfter('pre br');
   $('pre br').remove();
Of course it's not the ideal. How can I fix it via php, without changing core files?

Thank you a lot!
Sign In or Register to comment.