My client loves drupal, but wants to have it automatically convert 2 line feeds to a paragraph break
(<p /> or <br /><br />).

Other content management systems I have worked with did this automatically, but I can't find anything
regarding this feature in the drupal documentation.

Thanks,

Ross

Comments

Anonymous’s picture

Seems my client added

<center>Title</center>

which seems to tell Drupal to treat the content differently in terms of line feed to p or br tag conversion.

This should really be documented some where (or is it?).

Steven’s picture

This is an incorrect HTML3-ism. <p> is a container for paragraphs, not a paragraph separator.

Drupal scans the content for certain HTML tags, and if used, it assumes the user has done the formatting him/herself.

Rick Cogley’s picture

In FCKEditor, Shift-Enter puts in a br.

I have had some trouble with the various filters and having my text run together.

Rick Cogley :: rick.cogley@esolia.co.jp
Tokyo, Japan

Steven’s picture

You should check the date of a thread before posting in it... since Drupal 4.5, the linebreak convertor has been replaced with one that intelligently adds <p> tags and takes other tags into account (like tables, blockquotes, etc).
This problem should not happen anymore.

--
If you have a problem, please search before posting a question.

moramata’s picture

But this problem is happening when I use text box using flexi node. Page, Story, etc. node do not ghave the problem. It recognizes linkebreak as paragrap break and treats them nicely. Bit text box in flexi node type is not doing this. It just runs straight. No paragraph break or line break unless I explicitly use html to do that. Any suggestions?