
Re: After 1.2.0.27 To 1.3.0.53 Problems In Posting (bbcodes)
It happens all time you try to post an answer, using quick response or just response... And with all styles.
I have "fixed" the problem (badly, but the forum doesn't show the error)
in includes/bbcode.php
remplace
- function plain_message($text, $id)
- {
- // This function will strip from a message some BBCodes,
- // all BBCodes $uid, and some other formattings.
- // The result will be suitable for email sendings.
- $text = $this->bbcode_killer($text, $id);
- //$text = preg_replace("/\r\n/", "<br />", $text);
- $text = preg_replace("/\r\n/", "\n", $text);
- $text = str_replace('<br />', "\n", $text);
-
- return $text;
- }
-
by
- function plain_message($text)
- {
- // This function will strip from a message some BBCodes,
- // all BBCodes $uid, and some other formattings.
- // The result will be suitable for email sendings.
- //$text = $this->bbcode_killer($text, $id);
- //$text = preg_replace("/\r\n/", "<br />", $text);
- $text = preg_replace("/\r\n/", "\n", $text);
- $text = str_replace('<br />', "\n", $text);
-
- return $text;
- }
-
I know that's quit a function, but I cannot arrive into any other solution