mrdocs::safeString

Return a DOM string ensuring special characters are escaped.

Synopsis

Declared in <mrdocs/Dom/Value.hpp>

template<std::convertible_to<std::string_view> SV>
dom::Value
safeString(SV const& str);

Return Value

dom::Value containing the safe string.

Parameters

Name

Description

str

Source string view convertible type.

Created with MrDocs