mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-07-13 18:40:12 -04:00
Refactor all calls of p::clean() to SafeString::of() and p::purify() to SafeString::purify().
Removing any p::clean() calls for arguments to t() and t2() since their args are wrapped in a SafeString anyway.
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<div id="gAlbumHeaderButtons">
|
||||
<?= $theme->dynamic_top() ?>
|
||||
</div>
|
||||
<h1><?= p::clean($title) ?></h1>
|
||||
<h1><?= SafeString::of($title) ?></h1>
|
||||
</div>
|
||||
|
||||
<ul id="gAlbumGrid">
|
||||
@@ -16,7 +16,7 @@
|
||||
width="<?= $child->thumb_width ?>"
|
||||
height="<?= $child->thumb_height ?>" />
|
||||
</a>
|
||||
<h2><?= p::purify($child->title) ?></h2>
|
||||
<h2><?= SafeString::purify($child->title) ?></h2>
|
||||
<?= $theme->thumb_bottom($child) ?>
|
||||
<ul class="gMetadata">
|
||||
<?= $theme->thumb_info($child) ?>
|
||||
|
||||
Reference in New Issue
Block a user