diff --git a/templates/ktstandard/action/document_links.smarty b/templates/ktstandard/action/document_links.smarty
index 46ad096..34c1281 100644
--- a/templates/ktstandard/action/document_links.smarty
+++ b/templates/ktstandard/action/document_links.smarty
@@ -1,4 +1,4 @@
-
get("ui/morphTo")}/title_bullet.png{else}{$rootUrl}/resources/graphics/title_bullet.png{/if}"/>{i18n}Document Links{/i18n}:
{$context->oDocument->getName()}
+
get("ui/morphTo")}/title_bullet.png{else}{$rootUrl}/resources/graphics/title_bullet.png{/if}"/>{i18n}Document Links{/i18n}:
{$context->oDocument->getName()|sanitize}
{i18n}The current links to and from this document are displayed below.{/i18n}
@@ -12,15 +12,15 @@
{i18n}Relationship{/i18n} |
-
+
-{if $links_from || $links_to}
-
+{if $links_from || $links_to}
+
{foreach from=$links_from item=link}
{assign var="type" value=$link->getLinkType()}
@@ -35,12 +35,12 @@
{/if}
- getId()}&qs[action]=main">{$target->getName()} |
+ getId()}&qs[action]=main">{$target->getName()|sanitize} |
{$type->getName()} |
{i18n}Linked from this document{/i18n} |
-
-{/foreach}
+
+{/foreach}
{foreach from=$links_to item=link}
@@ -55,13 +55,13 @@
{/if}
-
- getId()}&qs[action]=main">{$target->getName()} |
+
+ getId()}&qs[action]=main">{$target->getName()|sanitize} |
{$type->getName()} |
{i18n}Links to this document{/i18n} |
-
-{/foreach}
+
+{/foreach}
{else}