Closed (duplicate)
Project:
Drupal core
Version:
5.x-dev
Component:
filter.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Jul 2006 at 01:02 UTC
Updated:
30 Jun 2009 at 11:08 UTC
The _filter_autop function (which automatically converts newlines to paragraphs/brs) inserts a rogue <br class="clear" /> at the end of the text, which can mess up theme display and such when check_markup() is used. I looked through the function briefly but it ventures into Scary Regex Hell (tm) which is beyond my level of grasping just at the moment.
Comments
Comment #1
sunhttp://drupal.org/node/62472 seems to be affected from this bug.
Comment #2
magico commentedI could not find any reference to code that inserts "clear" in 4.7.3 neither in HEAD.
@webchick: can you give a quick look in HEAD, to check if it still inserts the "clear"?
Comment #3
RobRoy commentedDuplicate of http://drupal.org/node/100679.
Comment #4
kenorb commentedI've got similar problem described here:
#506112: wrong line wrapping on drupal_wrap_mail() in mail.inc
but for 6.x