mrdocs::safeString

Mark an existing string‐like value as safe to emit without escaping.

Synopsis

Declared in <mrdocs/Dom/Value.hpp>

dom::Value
safeString(dom::Value const& str);

Description

This overload is useful when a helper already produced a dom::Value and only needs to flip the safe‐string flag before it is rendered.

Return Value

A variant container for any kind of Dom value.

Parameters

Name

Description

str

A variant container for any kind of Dom value.

Created with MrDocs