| java.lang.Object | |
| ↳ | com.atlassian.confluence.util.PlainTextToHtmlConverter |
Static methods for the conversion of text to HTML.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Encodes the angle brackets, ampersands, and quotation marks in all the input items as HTML entities.
| |||||||||||
Encodes the angle brackets, ampersands, and quotation marks in the input as HTML entities.
| |||||||||||
Encodes the angle brackets, ampersands, and quotation marks in all the input items as HTML entities.
| |||||||||||
The function converts plain text into html in two steps.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Encodes the angle brackets, ampersands, and quotation marks in all the input items as HTML entities.
The items are converted to Strings using valueOf(boolean).
| items | objects to convert to strings and encode |
|---|
Encodes the angle brackets, ampersands, and quotation marks in the input as HTML entities.
| text | string to encode |
|---|
Encodes the angle brackets, ampersands, and quotation marks in all the input items as HTML entities.
| items | strings to encode |
|---|
The function converts plain text into html in two steps. 1. utilize the oscore plain2html function to turn the plain text into html including converting linebreaks and special characters. 2. finds occurences of multiple spaces and replaces them with   html entities.

