You are here

December 2009

Line breaks, paragraphs and drupal input filters

Submitted by devblog on Sun, 27/12/2009 - 20:43

One area in Drupal that has always tripped me up is the matter of line breaks, paragraph breaks and formatting.

The culprits here are the Line Break Converter, the HTML Filter and the HTML Corrector.

It is an issue I have always had to work my head around, but I think I am now getting the hang of it.

Wherever the Line Break Converter comes across a line of text ending without a <br /> it adds a <br /> to ensure that when the web browser displays the page, the following text starts on a new line.