Dashboard > blojsom 3.0 > ... > Plugins > Convert Line Breaks Plugin
  blojsom 3.0 Log In   View a printable version of the current page.  
  Convert Line Breaks Plugin
Added by David Czarnecki, last edited by David Czarnecki on Jul 09, 2007  (view change)
Labels: 
(None)

Description

The convert line breaks plugin will convert line breaks (\n) into <br /> tags in your blog entry descriptions.

Installation and Setup

In your /WEB-INF/classes/blojsom-plugins.xml file, add the following:

<bean id="convert-line-breaks" class="org.blojsom.plugin.common.ConvertLineBreaksPlugin" init-method="init"
          destroy-method="destroy"/>

You may then add "convert-line-breaks" to one of the flavor-based plugin chains.

Usage and URL Parameters

Usage

Any line breaks (\n) in your blog entry descriptions will converted to HTML <br /> tags in your blog entry descriptions.

Site running on a free Atlassian Confluence Open Source Project License granted to blojsom. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.5.4 Build:#809 Jun 12, 2007) - Bug/feature request - Contact Administrators