summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Save <savetheinternet@tinyboard.org>2012-02-17 01:37:22 +1100
committerMichael Save <savetheinternet@tinyboard.org>2012-02-17 01:37:22 +1100
commit8ac139f6a23da24be41e4295ee356bfc7d7822a3 (patch)
tree6660873bd2432c6261ceed6165d5deec8af5c5d4
parent89ecd645d1ab725aa774d7a73b91dd5a670b6ed4 (diff)
post editing bug
-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", '&#010;', $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>' .