Mercurial > p > roundup > code
view website/issues/html/_generic.collision.html @ 6162:9cfdbfc6d8ed
Mark entity safe and reinstall escape -- make title display right
Change to explicitly mark the string entity — as safe and
reinstate escaping of doctitle.
If this worked in the past maybe auto-escaping wasn't turned on. If it
is in the newer versions of sphinx's jinja |safe is needed now (and |e
isn't, but it doesn't seem to cause double escaping so....).
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Mon, 11 May 2020 11:12:25 -0400 |
| parents | c2d0d3e9099d |
| children | 4ac0bbb3e440 |
line wrap: on
line source
<tal:block metal:use-macro="templates/page/macros/icing"> <title metal:fill-slot="head_title" i18n:translate="" ><span tal:replace="python:context._classname.capitalize()" i18n:name="class" /> Edit Collision - <span i18n:name="tracker" tal:replace="config/TRACKER_NAME" /></title> <tal:block metal:fill-slot="body_title" i18n:translate="" ><span tal:replace="python:context._classname.capitalize()" i18n:name="class" /> Edit Collision</tal:block> <td class="content" metal:fill-slot="content" i18n:translate=" There has been a collision. Another user updated this node while you were editing. Please <a href='${context}'>reload</a> the node and review your edits. "><span tal:replace="context/designator" i18n:name="context" /> </td> </tal:block>
