mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-07-26 09:43:54 -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:
@@ -19,10 +19,10 @@
|
||||
<? foreach ($parents as $parent): ?>
|
||||
<li>
|
||||
<a href="<?= url::site("albums/{$parent->id}?show=$item->id") ?>">
|
||||
<?= p::purify($parent->title) ?>
|
||||
<?= SafeString::purify($parent->title) ?>
|
||||
</a>
|
||||
</li>
|
||||
<? endforeach ?>
|
||||
<li class="active"><?= p::purify($item->title) ?></li>
|
||||
<li class="active"><?= SafeString::purify($item->title) ?></li>
|
||||
</ul>
|
||||
<? endif ?>
|
||||
|
||||
Reference in New Issue
Block a user