dmarkdown.html

HTML character entity escaping.

TODO: Make things @safe once Appender is.

Members

Functions

filterHTMLAllEscape
void filterHTMLAllEscape(ref R dst, S str)

Writes the HTML escaped version of a given string to an output range (escapes every character).

filterHTMLAttribEscape
void filterHTMLAttribEscape(ref R dst, S str)

Writes the HTML escaped version of a given string to an output range (also escapes double quotes).

filterHTMLEscape
void filterHTMLEscape(ref R dst, S str, HTMLEscapeFlags flags = HTMLEscapeFlags.escapeNewline)

Writes the HTML escaped version of a given string to an output range.

filterHTMLEscape
void filterHTMLEscape(ref R dst, dchar ch, HTMLEscapeFlags flags = HTMLEscapeFlags.escapeNewline)

Writes the HTML escaped version of a character to an output range.

Meta

Authors

Sönke Ludwig

License

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