Not sure if this is a bug for everyone by default...
http://linux-blog.org/index.php?/archiv ... l#extended
I've got those tags showing in code even when I have code not set to convert new lines to <br /> with the Markup: NL2BR event plugin. It's also doing this for <p> tags as well.
Anyone know how I can fix this problem? Is this problem widespread or is it just me?
<br> and <p> tags showing in code
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: <br> and <p> tags showing in code
Hi!
What do you mean with "even when I have code not set to convert..."?
The nl2br plugin does that, because HTML-tags within
What do you mean with "even when I have code not set to convert..."?
The nl2br plugin does that, because HTML-tags within
Code: Select all
BBCode tags get converted into HTML entities. So you'd need to disable the nl2br plugin for postings where you want to use [code].
Since [code] is a BBCode tag and not a HTML tag, you cannot put it into the nl2br plugin configuration for exlcuded tags, this will not work.
You might be able to solve it if you put the BBCode plugin AFTER the nl2br plugin?
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/
Yes, anything that depends on nl2br for its line breaks will be run together into a single paragraph. Reinstalling nl2br will fix it, though; the entries themselves won't change. nl2br is applied during output, and doesn't modify the entry itself.
It's weird that it only shows up in one of the code blocks. Why is that? Are you sure it's not actually in the entry?
It's weird that it only shows up in one of the code blocks. Why is that? Are you sure it's not actually in the entry?