safeString overloads
Declared in <mrdocs/Dom/Value.hpp>
Create a wrapper for a safe string.
dom::Value
safeString(std::string_view str);
» more...
Mark an existing string-like value as safe to emit without escaping.
dom::Value
safeString(dom::Value const& str);
» more...
Return a DOM string ensuring special characters are escaped.
template<std::convertible_to<std::string_view> SV>
dom::Value
safeString(SV const& str);
» more...
| Name | Description |
|---|---|
| str | The string to mark as safe |
https://handlebarsjs.com/api-reference/utilities.html#handlebars-safestring-string