Commit 43d3ee28 authored by Cecilia Vela Gurovic's avatar Cecilia Vela Gurovic Committed by Robert Lyon
Browse files

Bug 1707076: escape skin titles to display

behatnotneeded

Change-Id: I469f8136e287bb86eb17a32dbed48dec05b87969
parent af207c8f
......@@ -386,7 +386,6 @@ class Skin {
);
}
/**
* Gets all site skins
* @return array
......
......@@ -33,7 +33,7 @@
<img class="thumbnail" src="{$WWWROOT}skin/thumb.php?id={$currentskin}" alt="{$currenttitle}">
<ul class="metadata unstyled">
<li class="title">
<span class="h4 text-midtone">{$currenttitle|safe}</span>
<span class="h4 text-midtone">{$currenttitle}</span>
</li>
{if $currentmetadata}
<li class="metadisplayname">
......@@ -88,7 +88,7 @@
<a href="{$WWWROOT}view/skin.php?id={$viewid}&skin={$skin->id}">
<img src="{$WWWROOT}skin/thumb.php?id={$skin->id}" class="thumbnail" width="180" alt="{$skin->title}"/>
<div class="lead text-center text-small">
{$skin->title|safe}
{$skin->title}
</div>
</a>
</div>
......@@ -109,7 +109,7 @@
<a href="{$WWWROOT}view/skin.php?id={$viewid}&skin={$skin->id}">
<img src="{$WWWROOT}skin/thumb.php?id={$skin->id}" class="thumbnail" width="180" alt="{$skin->title}"/>
<div class="lead text-center text-small">
{$skin->title|safe}
{$skin->title}
</div>
</a>
</div>
......@@ -130,7 +130,7 @@
<a href="{$WWWROOT}view/skin.php?id={$viewid}&skin={$skin->id}">
<img src="{$WWWROOT}skin/thumb.php?id={$skin->id}" class="thumbnail" width="180" alt="{$skin->title}"/>
<div class="lead text-center text-small">
{$skin->title|safe}
{$skin->title}
</div>
</a>
</div>
......
Supports Markdown
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