forked from leftypol/leftypol
Fix \t in posts (editing posts, and HTML Tidy)
This commit is contained in:
parent
f1b1d41230
commit
d166fc70bd
2 changed files with 6 additions and 4 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue