Create a wrapper for a safe string.
Synopses
Declared in <mrdocs/Dom/Value.hpp>
Create a wrapper for a safe string.
Value
safeString(std::string_view str);
dom::Value
safeString(dom::Value const& str);
template<std::convertible_to<std::string_view> SV>
dom::Value
safeString(SV const& str);
Return Value
The safe string wrapper
Parameters
Name |
Description |
str |
The string to mark as safe |
See Also
https://handlebarsjs.com/api‐reference/utilities.html#handlebars‐safestring‐string
Created with MrDocs