Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
Unfortunately I can't help with the filter order, but I have noticed that the html filter seems to be the problem. I can get line break converter to work by itself and with bbcode, but turning the html filter on strips the line breaks. Allowing < br > tags does nothing.
No idea why this is so or when it started happening, but it spits up a LOT of errors in watchdog. Seems kinda bizarre behaviour to me but it's been a while since I didn't have bbcode installed so I don't remember if it worked or not in 4.7.2 (I'm using 4.7.3).
I'm experimenting a little more, will let you know if I find a combo that works.
That was supposed to be a break tag. I thought spaces would be enough to make it not render, fool that I am ;)
Okide -- after a bit more PFing around, what seems to work (at least in 4.7.3, I'm guessing 4.7.2 won't be vastly different) is have BBCode and HTML filter enabled, in BBCode have that do all the converting of links and and line and paragraph breaks and whatnot, and turn off the line break converter. That's working for me with the default arrangement and it seems to have stopped spitting up errors.
Weird kind of problem though, I'll have to see if it exists on the site I've just started (that currently has no bbcode or any other funky stuff attached to the forums).
And one more thing seeing as I was working on this. I've just turned the line break filter back on, try setting it to the last filter.
The filters seem to be applied in the order they're in, so if it's one of the first few things applying it's applying to nothing, and then all the content is getting spat in. That make sense?
Comments
Comment #1
Mayday commentedI believe I am seeing this as well, the line breaks show up in the editable section but not when displayed on the page.
Example:
http://www.timmay.net/node/14
Posted to Forums also:
http://drupal.org/node/74180
Additional Information:
I am using Secure Filtered HTML and I have the following filters on and in that order.
Word filter - 1
Line break converter - 2
Code filter - 5
BBCode - 6
HTML filter - 9
URL filter - 10
Comment #2
ryivhnn commentedUnfortunately I can't help with the filter order, but I have noticed that the html filter seems to be the problem. I can get line break converter to work by itself and with bbcode, but turning the html filter on strips the line breaks. Allowing < br > tags does nothing.
No idea why this is so or when it started happening, but it spits up a LOT of errors in watchdog. Seems kinda bizarre behaviour to me but it's been a while since I didn't have bbcode installed so I don't remember if it worked or not in 4.7.2 (I'm using 4.7.3).
I'm experimenting a little more, will let you know if I find a combo that works.
Comment #3
ryivhnn commentedThat was supposed to be a break tag. I thought spaces would be enough to make it not render, fool that I am ;)
Okide -- after a bit more PFing around, what seems to work (at least in 4.7.3, I'm guessing 4.7.2 won't be vastly different) is have BBCode and HTML filter enabled, in BBCode have that do all the converting of links and and line and paragraph breaks and whatnot, and turn off the line break converter. That's working for me with the default arrangement and it seems to have stopped spitting up errors.
Weird kind of problem though, I'll have to see if it exists on the site I've just started (that currently has no bbcode or any other funky stuff attached to the forums).
Comment #4
ryivhnn commentedAnd one more thing seeing as I was working on this. I've just turned the line break filter back on, try setting it to the last filter.
The filters seem to be applied in the order they're in, so if it's one of the first few things applying it's applying to nothing, and then all the content is getting spat in. That make sense?
I'm going to shut up now.
Comment #5
magico commentedI could not reproduce this.
Please, update to 4.7.5 and give some feedback.
Comment #6
catchno more info so marking as fixed. Also this is really a support question since it's down to filter weight.
Comment #7
(not verified) commentedComment #8
mik commentedhave the same issue in drupal 6.4
Comment #9
catchPlease supply full steps to reproduce the bug - which filters you have installed, how they're configured, etc. etc.
Comment #10
mik commentedi tried posting with filtered html or full html and got same results no other filters involved
Comment #11
mik commentedproble found in the theme i was using!
007nigrfix