Module vibe.textfilter.html

HTML character entity escaping.

Functions

Name Description
filterHTMLAllEscape Writes the HTML escaped version of a given string to an output range (escapes every character).
filterHTMLAttribEscape Writes the HTML escaped version of a given string to an output range (also escapes double quotes).
filterHTMLEscape Writes the HTML escaped version of a given string to an output range.
filterHTMLEscape Writes the HTML escaped version of a character to an output range.
htmlAllEscape Returns the HTML escaped version of a given string (escapes every character).
htmlAttribEscape Returns the HTML escaped version of a given string (also escapes double quotes).
htmlEscape Returns the HTML escaped version of a given string.
htmlEscapeMin Minimally escapes a text so that no HTML tags appear in it.

Enums

Name Description
HTMLEscapeFlags

Aliases

Name Type Description
filterHtmlAllEscape Compatibility alias, will be deprecated soon.
filterHtmlAttribEscape Compatibility alias, will be deprecated soon.
filterHtmlEscape Compatibility alias, will be deprecated soon.
HtmlEscapeFlags HTMLEscapeFlags Compatibility alias, will be deprecated soon.

Authors

Sönke Ludwig

Copyright

© 2012 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.