Not a developer? Go to MovableType.com

Documentation

strip_linefeeds

This modifier removes any linefeed characters (“returns”) from the input.

Example

The following example removes all HTML from the Entry Body then strips all linefeeds — effectively turning many paragraphs into a single big chunk of text.

<mt:EntryBody remove_html="1" strip_linefeeds="1">
Back

1 Comment

MG on February 3, 2011, 1:59 p.m. Reply

Why do you need this?

See Gautam Patel’s excellent suggestion and example here:

http://www.movabletype.org/documentation/appendices/tags/setvarblock.html#comment-4237