Fix \t in posts (editing posts, and HTML Tidy)
This commit is contained in:
1 parent
f1b1d41230
commit
d166fc70bd
2 files changed
+6
-4
No files matched your search
@@ -1317,6 +1317,8 @@ function mod_edit_post($board, $edit_raw_html, $postID) {
|
||||
$post['body'] = str_replace("\n", '
', utf8tohtml($post['body']));
|
||||
$post['body_nomarkup'] = str_replace("\r", '', $post['body_nomarkup']);
|
||||
$post['body'] = str_replace("\r", '', $post['body']);
|
||||
$post['body_nomarkup'] = str_replace("\t", '	', $post['body_nomarkup']);
|
||||
$post['body'] = str_replace("\t", '	', $post['body']);
|
||||
}
|
||||
|
||||
mod_page(_('Edit post'), 'mod/edit_post_form.html', array('token' => $security_token, 'board' => $board, 'raw' => $edit_raw_html, 'post' => $post));
|
||||
|
||||
Reference in new issue
Block a user