From 17ac82bfc4d5c10016cc8fb14c53d10e98c2d878 Mon Sep 17 00:00:00 2001 From: Alec Smecher Date: Fri, 6 Dec 2024 17:54:57 -0800 Subject: [PATCH] Consistently escape issue identification --- templates/frontend/components/breadcrumbs_article.tpl | 2 +- templates/frontend/objects/article_details.tpl | 2 +- templates/frontend/pages/indexJournal.tpl | 2 +- templates/gateway/clockss.tpl | 2 +- templates/gateway/lockss.tpl | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/frontend/components/breadcrumbs_article.tpl b/templates/frontend/components/breadcrumbs_article.tpl index bcb19294442..805115bd600 100644 --- a/templates/frontend/components/breadcrumbs_article.tpl +++ b/templates/frontend/components/breadcrumbs_article.tpl @@ -32,7 +32,7 @@ {if $issue}
  • getBestIssueId()}"> - {$issue->getIssueIdentification()} + {$issue->getIssueIdentification()|escape} {translate key="navigation.breadcrumbSeparator"}
  • diff --git a/templates/frontend/objects/article_details.tpl b/templates/frontend/objects/article_details.tpl index 0c5b51e4b0a..bd23d265ad8 100755 --- a/templates/frontend/objects/article_details.tpl +++ b/templates/frontend/objects/article_details.tpl @@ -371,7 +371,7 @@
    getBestIssueId()}"> - {$issue->getIssueIdentification()} + {$issue->getIssueIdentification()|escape}
    diff --git a/templates/frontend/pages/indexJournal.tpl b/templates/frontend/pages/indexJournal.tpl index 6fbb3cf68e5..1cb8816d29f 100644 --- a/templates/frontend/pages/indexJournal.tpl +++ b/templates/frontend/pages/indexJournal.tpl @@ -53,7 +53,7 @@ {translate key="journal.currentIssue"}
    - {$issue->getIssueIdentification()|strip_unsafe_html} + {$issue->getIssueIdentification()|escape}
    {include file="frontend/objects/issue_toc.tpl" heading="h3"} diff --git a/templates/gateway/clockss.tpl b/templates/gateway/clockss.tpl index 56e06980d14..71ad23fb7ba 100644 --- a/templates/gateway/clockss.tpl +++ b/templates/gateway/clockss.tpl @@ -31,7 +31,7 @@ diff --git a/templates/gateway/lockss.tpl b/templates/gateway/lockss.tpl index 033120e7ad7..7a2cc960931 100644 --- a/templates/gateway/lockss.tpl +++ b/templates/gateway/lockss.tpl @@ -31,7 +31,7 @@