Mercurial > p > roundup > code
diff templates/classic/html/user.item.html @ 3994:030ba81511ee
Fix HTML injection into page title; also some other TAL cleanup
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Mon, 18 Aug 2008 06:37:15 +0000 |
| parents | 7e445a063979 |
| children |
line wrap: on
line diff
--- a/templates/classic/html/user.item.html Mon Aug 18 06:25:47 2008 +0000 +++ b/templates/classic/html/user.item.html Mon Aug 18 06:37:15 2008 +0000 @@ -4,9 +4,9 @@ > <title metal:fill-slot="head_title"> <tal:if condition="context/id" i18n:translate="" - >User <span tal:replace="context/id" i18n:name="id" - />: <span tal:replace="context/username" i18n:name="title" - /> - <span tal:replace="config/TRACKER_NAME" i18n:name="tracker" + >User <tal:x content="context/id" i18n:name="id" + />: <tal:x content="context/username" i18n:name="title" + /> - <tal:x content="config/TRACKER_NAME" i18n:name="tracker" /></tal:if> <tal:if condition="not:context/id" i18n:translate="" >New User - <span tal:replace="config/TRACKER_NAME" i18n:name="tracker"
