From c42050a10cac40b0b5ac70c587e07f257a9b50dd Mon Sep 17 00:00:00 2001 From: Jonathan Strine Date: Wed, 25 Nov 2020 19:31:51 -0500 Subject: [PATCH] Escape characters which cause XML parsing issues --- osxphotos/templates/xmp_sidecar.mako | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/osxphotos/templates/xmp_sidecar.mako b/osxphotos/templates/xmp_sidecar.mako index f34c1b9b..16ebc651 100644 --- a/osxphotos/templates/xmp_sidecar.mako +++ b/osxphotos/templates/xmp_sidecar.mako @@ -12,7 +12,7 @@ % if desc is None: % else: - ${desc} + ${desc | x} % endif @@ -20,7 +20,7 @@ % if title is None: % else: - ${title} + ${title | x} % endif @@ -30,7 +30,7 @@ % for subj in subject: - ${subj} + ${subj | x} % endfor @@ -48,7 +48,7 @@ % for person in persons: - ${person} + ${person | x} % endfor @@ -60,7 +60,7 @@ % for keyword in keywords: - ${keyword} + ${keyword | x} % endfor