diff --git a/templates/blockDoi.tpl b/templates/blockDoi.tpl index 49d1eb6..29f982a 100644 --- a/templates/blockDoi.tpl +++ b/templates/blockDoi.tpl @@ -20,8 +20,8 @@ {capture assign=translatedDoi}{translate key="doi.readerDisplayName"}{/capture} {translate key="semicolon" label=$translatedDoi} - {$doi} + {$doi|escape} {/if} - \ No newline at end of file + diff --git a/templates/blockReferences.tpl b/templates/blockReferences.tpl index 330a628..96d9cc5 100644 --- a/templates/blockReferences.tpl +++ b/templates/blockReferences.tpl @@ -19,9 +19,9 @@
{$parsedCitation->getCitationWithLinks()|strip_unsafe_html} {call_hook name="Templates::Article::Details::Reference" citation=$parsedCitation}
{/foreach} {else} - {$publication->getData('citationsRaw')|nl2br} + {$publication->getData('citationsRaw')|escape|nl2br} {/if} -{/if} \ No newline at end of file +{/if} diff --git a/templates/displayInline.tpl b/templates/displayInline.tpl index 579202c..1d15262 100644 --- a/templates/displayInline.tpl +++ b/templates/displayInline.tpl @@ -16,7 +16,7 @@ * @uses $supplementaryGalleys array List of article galleys that are supplementary * @uses $inlineHtmlGalley string The HTML content of the Article Galley *} -{include file="frontend/components/header.tpl" pageTitleTranslated=$publication->getLocalizedFullTitle(null, 'html')|strip_unsafe_html|escape} +{include file="frontend/components/header.tpl" pageTitleTranslated=$publication->getLocalizedFullTitle(null, 'html')|strip_unsafe_html}