Escape HTML in Atom feed metadata rather than treating it as XHTML
parent
9b901a3364
commit
a64dca8356
|
@ -12,22 +12,18 @@
|
||||||
</TMPL_IF>
|
</TMPL_IF>
|
||||||
</author>
|
</author>
|
||||||
<TMPL_IF NAME="COPYRIGHT">
|
<TMPL_IF NAME="COPYRIGHT">
|
||||||
<rights type="xhtml" xml:lang="en">
|
<rights type="html" xml:lang="en">
|
||||||
<div xmlns="http://www.w3.org/1999/xhtml">
|
|
||||||
<TMPL_IF NAME="LICENSE">
|
<TMPL_IF NAME="LICENSE">
|
||||||
<TMPL_VAR LICENSE>
|
<TMPL_VAR LICENSE>
|
||||||
<TMPL_VAR COPYRIGHT>
|
<TMPL_VAR COPYRIGHT ESCAPE=HTML>
|
||||||
<TMPL_ELSE>
|
<TMPL_ELSE>
|
||||||
<TMPL_VAR COPYRIGHT>
|
<TMPL_VAR COPYRIGHT ESCAPE=HTML>
|
||||||
</TMPL_IF>
|
</TMPL_IF>
|
||||||
</div>
|
|
||||||
</rights>
|
</rights>
|
||||||
<TMPL_ELSE>
|
<TMPL_ELSE>
|
||||||
<TMPL_IF NAME="LICENSE">
|
<TMPL_IF NAME="LICENSE">
|
||||||
<rights type="xhtml" xml:lang="en">
|
<rights type="html">
|
||||||
<div xmlns="http://www.w3.org/1999/xhtml">
|
<TMPL_VAR LICENSE ESCAPE=HTML>
|
||||||
<TMPL_VAR LICENSE>
|
|
||||||
</div>
|
|
||||||
</rights>
|
</rights>
|
||||||
</TMPL_IF>
|
</TMPL_IF>
|
||||||
</TMPL_IF>
|
</TMPL_IF>
|
||||||
|
|
Loading…
Reference in New Issue