Run all variables containing user-entered text through p::clean()

This commit is contained in:
Bharat Mediratta
2009-05-31 01:06:51 -07:00
parent 712fdb5545
commit 2e16c9557c
6 changed files with 16 additions and 12 deletions
+2 -2
View File
@@ -3,7 +3,7 @@
<div id="gAlbumHeaderButtons">
<?= $theme->dynamic_top() ?>
</div>
<h1><?= $tag->name ?></h1>
<h1><?= p::clean($tag->name) ?></h1>
</div>
<ul id="gAlbumGrid">
@@ -16,7 +16,7 @@
width="<?= $child->thumb_width ?>"
height="<?= $child->thumb_height ?>" />
</a>
<h2><?= $child->title ?></h2>
<h2><?= p::clean($child->title) ?></h2>
<?= $theme->thumb_bottom($child) ?>
<ul class="gMetadata">
<?= $theme->thumb_info($child) ?>