1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-01-19 01:24:05 +01:00

post editing bug

This commit is contained in:
Michael Save 2012-02-17 01:37:22 +11:00
parent 6ab9e4143c
commit 5b47707b20

View File

@ -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>' .