summaryrefslogtreecommitdiff
path: root/themes/wind/views/page.html.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2012-05-05 19:38:31 -0700
committerBharat Mediratta <bharat@menalto.com>2012-05-05 19:38:31 -0700
commit581d9a58db6a18a2597ee5487e57716f367c884b (patch)
treed16e1bbcbc1f7bec1dd188ca77af180f0768657e /themes/wind/views/page.html.php
parent1a328271e13e886f47debf32ab184c060cce4fac (diff)
Clean up title handling code in organize and wind theme for consistency.
Fixes #1847.
Diffstat (limited to 'themes/wind/views/page.html.php')
-rw-r--r--themes/wind/views/page.html.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/wind/views/page.html.php b/themes/wind/views/page.html.php
index 24d3347e..18ade97f 100644
--- a/themes/wind/views/page.html.php
+++ b/themes/wind/views/page.html.php
@@ -10,11 +10,11 @@
<?= $page_title ?>
<? else: ?>
<? if ($theme->item()): ?>
- <?= $theme->item()->title ?>
+ <?= html::purify($theme->item()->title) ?>
<? elseif ($theme->tag()): ?>
<?= t("Photos tagged with %tag_title", array("tag_title" => $theme->tag()->name)) ?>
<? else: /* Not an item, not a tag, no page_title specified. Help! */ ?>
- <?= item::root()->title ?>
+ <?= html::purify(item::root()->title) ?>
<? endif ?>
<? endif ?>
</title>