| java.lang.Object org.apache.roller.ui.rendering.plugins.ConvertLineBreaksPlugin
ConvertLineBreaksPlugin | public class ConvertLineBreaksPlugin implements WeblogEntryPlugin(Code) | | Simple page plugin that converts paragraphs of plain text into html paragraphs.
We wrap each full paragraph in html <p> opening and closing tags, and
also add <br> tags to the end of lines with breaks inside a paragraph.
Example:
This is one
paragraph
Becomes:
<p>This is one<br/>
paragraph</p>
|
ConvertLineBreaksPlugin | public ConvertLineBreaksPlugin()(Code) | | |
render | public String render(WeblogEntryData entry, String str)(Code) | | Transform the given plain text into html text by inserting p and br
tags around paragraphs and after line breaks.
|
|
|