Commit 9f5861e4 authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review
Browse files

Merge "Bug 1707076: escape skin titles to display" into 16.10_STABLE

parents 0afc1a25 43d3ee28
......@@ -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