Posted by NoRandom on July 1, 2010 at 10:16am
2 followers
Jump to:
| Project: | Drupal core |
| Version: | 6.17 |
| Component: | filter.module |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (duplicate) |
Issue Summary
Line break filter has a problem with html comments like < !-- your comment here -- >. It duplicates the comment and put the < br > or < p > tag after the comment and not before as it should be.
So, you have, for example:
<!--comment-->My text...and the output is:
<!--comment--><!--comment--><p>My text...when it should be:
<p><!--comment-->My text...You can easily replicate this bug disabling html filter (to allow you to directly write html comments into nodes).
I'm marking it as normal since it can break filters you apply later (wich is my case).
Not sure but I think this bug was not present in Drupal 6.15, maybe it was included in v16 or v17.
Regards.
Comments
#1
#828630: Line break converter failing to handle HTML comments properly