Escape characters which cause XML parsing issues
This commit is contained in:
@@ -12,7 +12,7 @@
|
|||||||
% if desc is None:
|
% if desc is None:
|
||||||
<dc:description></dc:description>
|
<dc:description></dc:description>
|
||||||
% else:
|
% else:
|
||||||
<dc:description>${desc}</dc:description>
|
<dc:description>${desc | x}</dc:description>
|
||||||
% endif
|
% endif
|
||||||
</%def>
|
</%def>
|
||||||
|
|
||||||
@@ -20,7 +20,7 @@
|
|||||||
% if title is None:
|
% if title is None:
|
||||||
<dc:title></dc:title>
|
<dc:title></dc:title>
|
||||||
% else:
|
% else:
|
||||||
<dc:title>${title}</dc:title>
|
<dc:title>${title | x}</dc:title>
|
||||||
% endif
|
% endif
|
||||||
</%def>
|
</%def>
|
||||||
|
|
||||||
@@ -30,7 +30,7 @@
|
|||||||
<dc:subject>
|
<dc:subject>
|
||||||
<rdf:Seq>
|
<rdf:Seq>
|
||||||
% for subj in subject:
|
% for subj in subject:
|
||||||
<rdf:li>${subj}</rdf:li>
|
<rdf:li>${subj | x}</rdf:li>
|
||||||
% endfor
|
% endfor
|
||||||
</rdf:Seq>
|
</rdf:Seq>
|
||||||
</dc:subject>
|
</dc:subject>
|
||||||
@@ -48,7 +48,7 @@
|
|||||||
<Iptc4xmpExt:PersonInImage>
|
<Iptc4xmpExt:PersonInImage>
|
||||||
<rdf:Bag>
|
<rdf:Bag>
|
||||||
% for person in persons:
|
% for person in persons:
|
||||||
<rdf:li>${person}</rdf:li>
|
<rdf:li>${person | x}</rdf:li>
|
||||||
% endfor
|
% endfor
|
||||||
</rdf:Bag>
|
</rdf:Bag>
|
||||||
</Iptc4xmpExt:PersonInImage>
|
</Iptc4xmpExt:PersonInImage>
|
||||||
@@ -60,7 +60,7 @@
|
|||||||
<digiKam:TagsList>
|
<digiKam:TagsList>
|
||||||
<rdf:Seq>
|
<rdf:Seq>
|
||||||
% for keyword in keywords:
|
% for keyword in keywords:
|
||||||
<rdf:li>${keyword}</rdf:li>
|
<rdf:li>${keyword | x}</rdf:li>
|
||||||
% endfor
|
% endfor
|
||||||
</rdf:Seq>
|
</rdf:Seq>
|
||||||
</digiKam:TagsList>
|
</digiKam:TagsList>
|
||||||
|
|||||||
Reference in New Issue
Block a user