Smartlines

Smartlines intelligently adds HTML paragraph and break elements where WordPress forgets.

Author:Michael Camilleri (profile at wordpress.org)
WordPress version required:3.01
WordPress version tested:3.01
Plugin version:1.1
Added to WordPress repository:16-08-2010
Last updated:22-08-2010
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:0
Rated by:0
Plugin URI:http://wordpress.org/extend/plugins/smartline...
Total downloads:1 176
Active installs:10+
plugin download
Click to start download

Smartlines inserts HTML break elements inside paragraph text when a user has put the text on a new line and paragraph elements inside blockquotes.

By default, WordPress will insert HTML paragraph elements when text is separated by a new line. But what if the user does not want a new paragraph but instead just wants a new line? Smartlines replaces single lines with break elements within a block of paragraph text. Because it only searches within blocks of paragraph text it does not unnecessary break elements.

Similarly, WordPress does not insert paragraph elements into blockquotes (has this always been the case?). This can be confusing for the user since it will display in the visual editor that they are present. Smartlines adds them.

Smartlines incorporates version 1.1 of the Simple HTML DOM parser (http://sourceforge.net/projects/simplehtmldom/). Smartlines performs a simple check to see if the functions in this code have been defined so if you are using another plugin that relies on Simple HTML DOM it won't cause any conflicts.