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
Formatting issue with pre and br
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Formatting issue with pre and br
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
Maybe you should use BBCode and use \
Code: Select all
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/