blob: 89ab07dea33f452d5d156089be410de1efe98c06 [file] [log] [blame]
Copybara854996b2021-09-07 19:36:02 +00001[# Safely display some text that includes some markup. Only the tags
2 that we explicitly allowlist are allowed, everything else gets
3 escaped.
4
5 description.text_runs is a list of element EZT objects that have a
6 tag and content and maybe some other attributes.
7
8 We do not use extra whitespace in this template because it
9 generates text into a context where whitespace is significant.
10][is arg0.tag ""][arg0.content][end][is arg0.tag "a"]<a href="[arg0.href]" title="[arg0.title]" class="[arg0.css_class]" rel="nofollow">[arg0.content]</a>[end][is arg0.tag "b"]<b>[arg0.content]</b>[end]