mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-22 14:55:18 -04:00
Update all code to use helper method html::clean(), html::purify(), ... instead of SafeString directly.
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<span class="ui-icon ui-icon-minus">
|
||||
</span>
|
||||
<span class="gAlbumText" ref="<?= $parent->id ?>">
|
||||
<?= SafeString::of($parent->title) ?>
|
||||
<?= html::clean($parent->title) ?>
|
||||
</span>
|
||||
<ul class="ui-icon-plus">
|
||||
<? endforeach ?>
|
||||
@@ -17,7 +17,7 @@
|
||||
</span>
|
||||
<span class="gAlbumText <?= $peer->id == $album->id ? "selected" : "" ?>"
|
||||
ref="<?= $peer->id ?>">
|
||||
<?= SafeString::of($peer->title) ?>
|
||||
<?= html::clean($peer->title) ?>
|
||||
</span>
|
||||
|
||||
<? if ($peer->id == $album->id): ?>
|
||||
@@ -29,7 +29,7 @@
|
||||
</span>
|
||||
<span class="gAlbumText"
|
||||
ref="<?= $child->id ?>">
|
||||
<?= SafeString::of($child->title) ?>
|
||||
<?= html::clean($child->title) ?>
|
||||
</span>
|
||||
</li>
|
||||
<? endforeach ?>
|
||||
|
||||
Reference in New Issue
Block a user