Skip to content

Commit

Permalink
Add escaping to template output
Browse files Browse the repository at this point in the history
  • Loading branch information
NateWr authored and asmecher committed Oct 28, 2015
1 parent b7a4a71 commit f4c46af
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion templates/frontend/components/breadcrumbs.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
{if $currentTitleKey}
{translate key=$currentTitleKey}
{else}
{$currentTitle}
{$currentTitle|escape}
{/if}
</h1>
</li>
Expand Down
4 changes: 2 additions & 2 deletions templates/frontend/components/breadcrumbs_catalog.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
{if $parent}
<li>
<a href="{url op=$type path=$parent->getPath()}">
{$parent->getLocalizedTitle()}
{$parent->getLocalizedTitle()|escape}
</a>
<span class="separator">{translate key="navigation.breadcrumbSeparator"}</span>
</li>
Expand All @@ -42,7 +42,7 @@
{if $currentTitleKey}
{translate key=$currentTitleKey}
{else}
{$currentTitle}
{$currentTitle|escape}
{/if}
</h1>
</li>
Expand Down

0 comments on commit f4c46af

Please sign in to comment.