Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(370)

Side by Side Diff: appengine/monorail/templates/tracker/render-rich-text.ezt

Issue 1868553004: Open Source Monorail (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Rebase Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 [# Safely display some text that includes some markup. Only the tags
2 that we explicitly whitelist 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]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698