correcting linebreaks inside pre tags
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
Thank you a lot!
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!
Tagged:
0