mrdocs::safeString
safeString overloads
Synopses
Declared in <mrdocs/Dom/Value.hpp>
Create a wrapper for a safe string.
dom::Value
safeString(std::string_view str);
Mark an existing string‐like value as safe to emit without escaping.
dom::Value
safeString(dom::Value const& str);
Return a DOM string ensuring special characters are escaped.
template<std::convertible_to<std::string_view> SV>
dom::Value
safeString(SV const& str);
See Also
https://handlebarsjs.com/api‐reference/utilities.html#handlebars‐safestring‐string
Created with MrDocs