summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2013-06-06 00:04:29 -0400
committerBharat Mediratta <bharat@menalto.com>2013-06-06 00:05:31 -0400
commite019046e40bd639483c4b7678be17956a8fab9d5 (patch)
treebb2c6e93c9b92097dcaf57e9631b2484bc47d01e /themes
parent49c4d6b56cccb871344cd9ea3a9cc8ec80879c6c (diff)
Use html::clean() instead of html::purify() on the breadcrumb text so
that we show the actual text. HTMLPurify allows some HTML to render, but we don't want that here. Fixes #2072.
Diffstat (limited to 'themes')
-rw-r--r--themes/wind/views/page.html.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/wind/views/page.html.php b/themes/wind/views/page.html.php
index e2fc516a..bca1bd81 100644
--- a/themes/wind/views/page.html.php
+++ b/themes/wind/views/page.html.php
@@ -104,7 +104,7 @@
<li class="<?= $breadcrumb->last ? "g-active" : "" ?>
<?= $breadcrumb->first ? "g-first" : "" ?>">
<? if (!$breadcrumb->last): ?> <a href="<?= $breadcrumb->url ?>"><? endif ?>
- <?= html::purify(text::limit_chars($breadcrumb->title, module::get_var("gallery", "visible_title_length"))) ?>
+ <?= html::clean(text::limit_chars($breadcrumb->title, module::get_var("gallery", "visible_title_length"))) ?>
<? if (!$breadcrumb->last): ?></a><? endif ?>
</li>
<? endforeach ?>