mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-03 05:31:16 -04:00
Fix for ticket #477. Use nl2br method when rendering comment::text and
item::description. In addition add p::clean or p::purify to places that xss cleaning had missed (i.e. rss feeds)
This commit is contained in:
@@ -132,7 +132,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<p><?= gallery::date($comment->created) ?></p>
|
||||
<?= p::purify($comment->text) ?>
|
||||
<?= nl2br(p::purify($comment->text)) ?>
|
||||
</td>
|
||||
<td>
|
||||
<ul class="gButtonSetVertical">
|
||||
|
||||
Reference in New Issue
Block a user