vibe.d beta banner
get vibe.d
0.7.30

Module vibe.textfilter.html

HTML character entity escaping.

TODO

Make things @safe once Appender is.

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
Authors

Sönke Ludwig

Copyright

© 2012-2014 RejectedSoftware e.K.

License

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