HTMLEscape overloads

Synopses

Declared in <mrdocs/Support/Handlebars.hpp>

HTML escapes the specified string.

std::string
HTMLEscape(std::string_view str);

HTML escapes the specified string

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

Return Value

The escaped string.

Parameters

Name

Description

str

The string to escape.

out

The 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

Created with MrDocs