Commit 9635660f authored by Ghada El-Zoghbi's avatar Ghada El-Zoghbi
Browse files

Bug #1706536: Mark the skin title safe when disaplying on screen.

Done for both raw and raw_old themes.

Sponsored by Australian National University

behatnotneeded

Change-Id: Id492639efed8a8562d2d6accfbacae1ed793f7f1
parent ac032a3f
......@@ -26,7 +26,7 @@
<div class="panel panel-default">
<h2 class="panel-heading {if $skin.metadata} has-link {/if}">
<a href="" type="button" title="{str tag='viewmetadata' section='skin'}" class="title-link" data-toggle="modal" data-target="#skindata-modal-{$skin.id}" aria-labelledby="skin-info">
{$skin.title|escape}
{$skin.title|escape|safe}
<span class="icon icon-info-circle pull-right link-indicator" role="presentation" aria-hidden="true"></span>
<span class="sr-only">
{str tag=viewmetadataspecific section=skin arg1=$skin.title}
......
......@@ -26,7 +26,7 @@
<div class="panel panel-default">
<h2 class="panel-heading {if $skin.metadata} has-link {/if}">
<a href="" type="button" title="{str tag='viewmetadata' section='skin'}" class="title-link" data-toggle="modal" data-target="#skindata-modal-{$skin.id}" aria-labelledby="skin-info">
{$skin.title|escape}
{$skin.title|escape|safe}
<span class="icon icon-info-circle pull-right link-indicator" role="presentation" aria-hidden="true"></span>
<span class="sr-only">
{str tag=viewmetadataspecific section=skin arg1=$skin.title}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment