fix !@#$ tinymce linebreaks for the thousandth time

This commit is contained in:
friendica 2012-07-04 17:15:43 -07:00
parent fd626022ec
commit 5589bca1e0
6 changed files with 180 additions and 157 deletions

View file

@ -204,7 +204,7 @@ function bbcode($Text,$preserve_nl = false, $tryoembed = true) {
// Declare the format for [code] layout
$Text = preg_replace_callback("/\[code\](.*?)\[\/code\]/ism",'stripcode_br_cb',$Text);
// $Text = preg_replace_callback("/\[code\](.*?)\[\/code\]/ism",'stripcode_br_cb',$Text);
$CodeLayout = '<code>$1</code>';
// Check for [code] text