pub fn safe_html<S, MSG>(
s: S
) -> Node<&'static str, &'static str, Leaf, &'static str, AttributeValue<MSG>> where
S: ToString,
Expand description
Create an html and instruct the DOM renderer and/or DOM patcher that the operation is safe.
Note: this operation doesn’t sanitize the html code. It is your responsibility as a programmer to sanitize the input here.
Example