[drupal-support] <pre> html tag broken in Drupal

Djun Kim puregin at puregin.org
Fri Apr 8 17:53:48 UTC 2005


   Personally, I was surprised the first time
I encountered the default line breaking
behaviour in Drupal.  Once I understood what
was what was going on, it seemed consistent
that line breaks would be applied everywhere.
So *I* don't consider this to be bug.

  However, if *you* think this behaviour is a bug,
you might consider flagging it as an issue in the Drupal
project issue tracker (otherwise it's unlikely
to get any attention).

Quoting Abalieno <abalieno at cesspit.net>:

>> Hi Abalieno,
>>
>>    you probably need to tweak your input formats.
>> Go to administer -> input formats, and either
>> turn off line break converter for the format you
>> use, or create a new format with line break
>> converter turned off.
>
> Okay, but it's still a broken feature. A <pre> block should ALWAYS
> bypass the line breaks. In every condition since it's exactly how the
> html tag is defined. I can disable the line breaks for the WHOLE node
> but I'd like Drupal to keep doing that and bypass the line breaks
> only when dealing with the <pre> tag.
>
> This is supposed the default behaviour and should be considered as a bug.
>
> -HRose / Abalieno -- [ Drupal support list | http://lists.drupal.org/ ]
>





More information about the drupal-support mailing list