text_of

Function text_of 

Source
pub fn text_of(v: &Value) -> Html
Expand description

The node html_text(v) builds: a tree that is already a tree is spliced, and anything else is its rendering as text.

The same two callers as element, and the same reason: ui: lowers every non-element child through html_text, so “or Html” deciding differently in a compiled view than in an interpreted one would make a view composed out of functions render its parts as escaped markup in one backend and as markup in the other (docs/94 §94.6).