Mercurial > hg-stable
changeset 29437:6ab3465d9991
hgweb: remove unnecessary CDATA markup in atom/branchentry.tmpl
Since content is of type "text" (and is already escaped), using a CDATA section
is not required.
Looks like this was just an artifact of copying things from rss style in
add2f9ddcfb5, because other entries in atom style don't use CDATA in such
places.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Wed, 29 Jun 2016 20:58:09 +0800 |
parents | 849b8e84487e |
children | 82858f144217 |
files | mercurial/templates/atom/branchentry.tmpl |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/templates/atom/branchentry.tmpl Wed Jun 29 20:19:04 2016 +0800 +++ b/mercurial/templates/atom/branchentry.tmpl Wed Jun 29 20:58:09 2016 +0800 @@ -4,5 +4,5 @@ <id>{urlbase}{url|urlescape}#branch-{node}</id> <updated>{date|rfc3339date}</updated> <published>{date|rfc3339date}</published> - <content type="text"><![CDATA[{branch|strip|escape|addbreaks}]]></content> + <content type="text">{branch|strip|escape}</content> </entry>