summaryrefslogtreecommitdiff
path: root/modules/gallery/views
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gallery/views')
-rw-r--r--modules/gallery/views/user_profile.html.php2
-rw-r--r--modules/gallery/views/user_profile_info.html.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/gallery/views/user_profile.html.php b/modules/gallery/views/user_profile.html.php
index 708b1613..7dc9d13e 100644
--- a/modules/gallery/views/user_profile.html.php
+++ b/modules/gallery/views/user_profile.html.php
@@ -41,7 +41,7 @@
<? foreach ($info_parts as $info): ?>
<div>
<fieldset>
- <label><?= $info->title ?></label>
+ <label><?= html::purify($info->title) ?></label>
<div>
<?= $info->view ?>
</div>
diff --git a/modules/gallery/views/user_profile_info.html.php b/modules/gallery/views/user_profile_info.html.php
index 2a2549c8..2f2d68d3 100644
--- a/modules/gallery/views/user_profile_info.html.php
+++ b/modules/gallery/views/user_profile_info.html.php
@@ -3,7 +3,7 @@
<? foreach ($fields as $field => $value): ?>
<tr>
<td><?= $field ?></td>
- <td><?= $value ?></td>
+ <td><?= html::purify($value) ?></td>
</tr>
<? endforeach ?>
</table>