summaryrefslogtreecommitdiff
path: root/modules/gallery
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2012-05-05 19:55:29 -0700
committerBharat Mediratta <bharat@menalto.com>2012-05-05 19:55:29 -0700
commit916f5c7d3b6d3b57255e760949c78f0dbc2abf92 (patch)
treeb3b9a1dd6b708701de517bc28e7ee1c8c64f7cf5 /modules/gallery
parent83efbc000f2b3ac3d5f858d76378f959691f254d (diff)
Clean up message to preserve page formatting. Fixes #1848.
Diffstat (limited to 'modules/gallery')
-rw-r--r--modules/gallery/views/error_admin.html.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/views/error_admin.html.php b/modules/gallery/views/error_admin.html.php
index af78c59c..a391746e 100644
--- a/modules/gallery/views/error_admin.html.php
+++ b/modules/gallery/views/error_admin.html.php
@@ -184,7 +184,7 @@
<?= $type?> [ <?= $code ?> ]:
</span>
<span class="message">
- <?= $message?>
+ <?= html::purify($message) ?>
</span>
</h3>
<div id="<?= $error_id ?>" class="content">