summaryrefslogtreecommitdiff
path: root/mod.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod.php')
-rw-r--r--mod.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/mod.php b/mod.php
index fe2ad589..095c3c83 100644
--- a/mod.php
+++ b/mod.php
@@ -2170,6 +2170,8 @@
exit;
}
+ $post['body_nomarkup'] = utf8tohtml($post['body_nomarkup']);
+
if($config['minify_html'])
$post['body_nomarkup'] = str_replace("\n", '
', $post['body_nomarkup']);
@@ -2190,7 +2192,7 @@
'<th>Body</th>' .
'<td>' .
'<textarea name="body" rows="8" cols="38">' .
- utf8tohtml($post['body_nomarkup']) .
+ . $post['body_nomarkup'] .
'</textarea>' .
'</td>' .
'</tr>' .