As the title, it does not work...

Comments

Mayday’s picture

I 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

ryivhnn’s picture

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.

ryivhnn’s picture

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).

ryivhnn’s picture

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?

I'm going to shut up now.

magico’s picture

Version: 4.7.2 » 4.7.5
Status: Active » Postponed (maintainer needs more info)

I could not reproduce this.
Please, update to 4.7.5 and give some feedback.

catch’s picture

Category: bug » support
Status: Postponed (maintainer needs more info) » Fixed

no more info so marking as fixed. Also this is really a support question since it's down to filter weight.

Anonymous’s picture

Status: Fixed » Closed (fixed)
mik’s picture

Version: 4.7.5 » 6.4
Status: Closed (fixed) » Active

have the same issue in drupal 6.4

catch’s picture

Status: Active » Postponed (maintainer needs more info)

Please supply full steps to reproduce the bug - which filters you have installed, how they're configured, etc. etc.

mik’s picture

i tried posting with filtered html or full html and got same results no other filters involved

mik’s picture

Assigned: Unassigned » mik
Priority: Normal » Minor
Status: Postponed (maintainer needs more info) » Closed (fixed)

proble found in the theme i was using!
007nigrfix