diff --git a/copyparty/web/opds.xml b/copyparty/web/opds.xml index 1918060b..ea89edf7 100644 --- a/copyparty/web/opds.xml +++ b/copyparty/web/opds.xml @@ -5,7 +5,7 @@ type="application/opensearchdescription+xml"/> {%- for d in dirs %} - {{ d.name }} + {{ d.name | e }} @@ -14,7 +14,7 @@ {%- endfor %} {%- for f in files %} - {{ f.name }} + {{ f.name | e }} {{ f.iso8601 }} {%- endfor %} - \ No newline at end of file + diff --git a/copyparty/web/opds_osd.xml b/copyparty/web/opds_osd.xml index e46d356f..327b0321 100644 --- a/copyparty/web/opds_osd.xml +++ b/copyparty/web/opds_osd.xml @@ -1,6 +1,6 @@ - C {{ longname | truncate(14) }} - Copyparty {{ longname }} + C {{ longname | truncate(14) | e }} + Copyparty {{ longname | e }}