mrdocs::handlebars::HTMLEscape

HTMLEscape overloads

Synopses

Declared in <mrdocs/Handlebars/OutputRef.hpp>

HTML escapes the specified string.

std::string
HTMLEscape(std::string_view str);
» more...

HTML escapes the specified string

void
HTMLEscape(
    OutputRef& out,
    std::string_view str);
» more...

Return Value

The escaped string.

Parameters

NameDescription
strThe string to escape.
outThe output stream reference where the escaped string will be written.

See Also

https://github.com/handlebars-lang/handlebars.js/blob/master/lib/handlebars/utils.js