mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
fixed code:1 bbcode bug.
git-svn-id: file:///svn/phpbb/trunk@1287 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
2f7f35a190
commit
8ef00898b3
2 changed files with 2 additions and 2 deletions
|
@ -1950,7 +1950,7 @@ else
|
||||||
$user_sig = $userdata['user_sig'];
|
$user_sig = $userdata['user_sig'];
|
||||||
}
|
}
|
||||||
|
|
||||||
$post_message = preg_replace("/\:$post_bbcode_uid(|\:[a-z])/si", "", $post_message);
|
$post_message = preg_replace("/(|\:1)\:$post_bbcode_uid(|\:[a-z])/si", "", $post_message);
|
||||||
$post_message = str_replace("<br />", "\n", $post_message);
|
$post_message = str_replace("<br />", "\n", $post_message);
|
||||||
$post_message = preg_replace($html_entities_match, $html_entities_replace, $post_message);
|
$post_message = preg_replace($html_entities_match, $html_entities_replace, $post_message);
|
||||||
$post_message = preg_replace('#</textarea>#si', '</textarea>', $post_message);
|
$post_message = preg_replace('#</textarea>#si', '</textarea>', $post_message);
|
||||||
|
|
|
@ -1178,7 +1178,7 @@ else if( $submit || $refresh || $mode != "" )
|
||||||
$to_username = $privmsg['username'];
|
$to_username = $privmsg['username'];
|
||||||
$to_userid = $privmsg['user_id'];
|
$to_userid = $privmsg['user_id'];
|
||||||
|
|
||||||
$privmsg_message = preg_replace("/\:$post_bbcode_uid(|\:[a-z])/si", "", $privmsg_message);
|
$privmsg_message = preg_replace("/(|\:1)\:$post_bbcode_uid(|\:[a-z])/si", "", $privmsg_message);
|
||||||
$privmsg_message = str_replace("<br />", "\n", $privmsg_message);
|
$privmsg_message = str_replace("<br />", "\n", $privmsg_message);
|
||||||
$privmsg_message = preg_replace($html_entities_match, $html_entities_replace, $privmsg_message);
|
$privmsg_message = preg_replace($html_entities_match, $html_entities_replace, $privmsg_message);
|
||||||
$privmsg_message = preg_replace('#</textarea>#si', '</textarea>', $privmsg_message);
|
$privmsg_message = preg_replace('#</textarea>#si', '</textarea>', $privmsg_message);
|
||||||
|
|
Loading…
Add table
Reference in a new issue