[drupal-devel] [bug] Line break converter and preformatted text

Steven drupal-devel at drupal.org
Mon Mar 7 13:38:23 UTC 2005


Issue status update for http://drupal.org/node/12369

 Project:      Drupal
 Version:      cvs.tar
 Component:    filter.module
 Category:     bug reports
 Priority:     minor
 Assigned to:  Anonymous
 Reported by:  aam
 Updated by:   Steven
-Status:       active
+Status:       patch
 Attachment:   http://drupal.org/files/issues/pre.patch (4.46 KB)

Give the attached patch a whirl.


Steven



Previous comments:
------------------------------------------------------------------------

October 31, 2004 - 19:03 : aam

The line break converter damages preformatted text in the pre html
clause. It converts line breaks into HTML (i.e. br and p tags) and puts
therefore additional line breaks in to pre clause of the resulting page.
The pre html clause is allowed by default in drupal installation
(filtered html), so it does not "work as designed" in this case...


------------------------------------------------------------------------

November 6, 2004 - 18:04 : aam

Okay, I understand the new input format and filter system better now,
but it is still a nice to have feature.


------------------------------------------------------------------------

March 7, 2005 - 05:29 : mathias

It'd be nice to have the line break convertor respect <pre> tags for the
4.6 release.





More information about the drupal-devel mailing list