mirror of
https://github.com/friendica/friendica
synced 2025-04-25 07:10:11 +00:00
fix !@#$ tinymce linebreaks for the thousandth time
This commit is contained in:
parent
fd626022ec
commit
5589bca1e0
6 changed files with 180 additions and 157 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue