summaryrefslogtreecommitdiff
path: root/editnews.php
diff options
context:
space:
mode:
Diffstat (limited to 'editnews.php')
-rw-r--r--editnews.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/editnews.php b/editnews.php
index f0ee50298d..0faea7908f 100644
--- a/editnews.php
+++ b/editnews.php
@@ -102,7 +102,7 @@ if (Module::getModuleByName('ckeditor')) {
<tr>
<tr>
<td>
- <input type="text" id="subject" name="subject" size="50" dir="auto" autofocus value="<?= Filter::escapeHtml($news['subject']) ?>">
+ <input type="text" id="subject" name="subject" size="50" dir="auto" autofocus value="<?= Html::escape($news['subject']) ?>">
</td>
</tr>
<tr>
@@ -114,7 +114,7 @@ if (Module::getModuleByName('ckeditor')) {
</tr>
<tr>
<td>
- <textarea id="body" name="body" class="html-edit" cols="80" rows="10" dir="auto"><?= Filter::escapeHtml($news['body']) ?></textarea>
+ <textarea id="body" name="body" class="html-edit" cols="80" rows="10" dir="auto"><?= Html::escape($news['body']) ?></textarea>
</td>
</tr>
<tr>