Page 1 of 1

Formatting issue with pre and br

Posted: Wed Nov 09, 2005 8:35 am
by jettro
Hi I want te present a lot of code on my blog. I want to use the pre tag, but on every line a br tags is inserted. This br tag puts an extra line brake in my code. Is is possible to loose the br tag at some places? Or is there another solution?

http://www.gridshore.nl/blog

Re: Formatting issue with pre and br

Posted: Wed Nov 09, 2005 10:57 am
by garvinhicking
This linebreak is inserted because of the "Markup: NL2BR" plugin you have installed. You can uninstall that if you don'T want those newlines to appear, but you cannot selectively only use the nl2br for specific parts of text.

Maybe you should use BBCode and use \ tags instead to format your entries? Those won't mind the br tags...?!

Regards,
Garvin