mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-04 06:01:23 -04:00
Update all code to use helper method html::clean(), html::purify(), ... instead of SafeString directly.
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
<li class="ui-icon-left">
|
||||
<span class="ui-icon ui-icon-folder-open"></span>
|
||||
<span ondblclick="open_dir('<?= $dir ?>')">
|
||||
<?= SafeString::of(basename($dir)) ?>
|
||||
<?= html::clean(basename($dir)) ?>
|
||||
</span>
|
||||
<ul>
|
||||
<? endforeach ?>
|
||||
@@ -24,7 +24,7 @@
|
||||
<? endif ?>
|
||||
file="<?= strtr($file, array('"' => '\\"')) ?>"
|
||||
>
|
||||
<?= SafeString::of(basename($file)) ?>
|
||||
<?= html::clean(basename($file)) ?>
|
||||
</span>
|
||||
</li>
|
||||
<? endforeach ?>
|
||||
|
||||
Reference in New Issue
Block a user