I am very sorry if I had misread the code as I am not well-versed in regexp. For the filter module (lines 982-1003) where the line break filter kicks in, does it check for the windows line break (\r\n) and the mac line break (\r)? I am having some problems with the line break filter not creating the <p> and <br /> tags. Thanks a lot for your help! =)
Comments
Comment #1
DriesK commentedTake a look at check_markup() in filter.module. You'll see that before the filters are applied, all windows and mac line breaks are converted into single newlines.
Can you give some more information on your problem? When does it happen? Always?
Comment #2
DriesK commentedI didn't see that you marked this as a 4.6.5 issue. In 4.6.x, you should be looking at check_output(), not check_markup() (function name changed).
Comment #3
jmarki commentedAfter fiddling with the settings, I just found out that HTMLArea is the one causing the problem. Disabling that, and making sure the html filter (which I set to filter away all html) is processed before the line break filter by setting different weights solved the problem. Thanks a lot for your help! =)
Jmarki