Line break converter (in filter.module) does not handle contents of li elements (lists) correctly. The result is invalid html, due to broken p elements.
<ol>
<li>Ok, so isn't this an issue with line break converter anyway?</li>
<li>What if I have just an ordinary list
with line breaks in between?</li>
<li>It's not gonna work then either
is it?</li>
</ol>
Produces the following:
<ol>
<li>Ok, so isn't this an issue with line break converter anyway?</li>
<li>What if I have this kind of list
<p>with line breaks in between?</li>
<li>It's not gonna work then either<br />
is it?</li>
</ol>
This example from currently running drupal.org, as you can see:
- Ok, so isn't this an issue with line break converter anyway?
- What if I have just an ordinary list
with line breaks in between?
- It's not gonna work then either
is it?
Comments
Comment #1
magico commentedStill present.
Comment #2
beginner commentedsubscribing.
Comment #3
beginner commentedComment #4
lilou commentedThis bug seem to be solved in D6-RC1.
Test produce :
with line breaks in between?
is it?
Comment #5
beginner commentedComment #6
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.