Improve whitespace display from/to BBCode/HTML

This commit is contained in:
Hypolite Petovan 2018-09-16 09:05:54 -04:00
parent a5bf37fd98
commit 96ed7525b7
2 changed files with 2 additions and 2 deletions

View file

@ -131,7 +131,7 @@ class HTML
$prefix = '[code=' . $matches[1] . ']';
}
$codeblocks[] = $prefix . trim($matches[2]) . '[/code]';
$codeblocks[] = $prefix . PHP_EOL . trim($matches[2]) . PHP_EOL . '[/code]';
return $return;
},
$message