Std.Html.trusted
1 declaration
fn
trusted: Str -> Std.Html.HtmlThis is a callable function.
What it does
Markup the caller has taken responsibility for.
The only way text becomes markup. Named rather than convenient on purpose:
an escape hatch that is easy to reach is the same as no escaping, while one
that must be named is a decision somebody made and a reviewer can find.
Read the signature
- The text after the name is the type checked by Pudu.
- Read arrows from left to right: inputs come first, and the final type is returned.
