Package DE_EPAGES::TLE::API::HtmlFormatter
TLE format handler for HTML texts. This handler supports the following formats:
- [html] <>"& are replaced by < > " and &
- [nohtml] all HTML tags, SCRIPT elements and STYLE elements are removed; multiple spaces are condensed into one
- [js] escape for javascript: ' with \' and \ with \\
- [preline] html formatting and replaces new lines with <br />
- [uri] special characters are escaped as %XX
- [url] special characters are escaped as %XX, except '/'
- [color] used for color specification in CSS
Functions
DEFAULTFORMAT
Switches the default format to 'js'. This function is also used to switch the default formatting between <script ...></script> tags
Syntax |
#BLOCK("DEFAULTFORMAT", "js") template #ENDBLOCK |
Input |
|
Return |
|