fix #2 for real this time
This commit is contained in:
parent
2c2bd28a9f
commit
7c970031d0
|
@ -402,17 +402,22 @@ class frontend{
|
|||
|
||||
$text =
|
||||
trim(
|
||||
preg_replace(
|
||||
'/<code [^>]+>/',
|
||||
"",
|
||||
str_replace(
|
||||
[
|
||||
"<br />",
|
||||
" ",
|
||||
"<pre>",
|
||||
"</pre>"
|
||||
"</pre>",
|
||||
"</code>"
|
||||
],
|
||||
[
|
||||
"\n",
|
||||
" ",
|
||||
"",
|
||||
"",
|
||||
""
|
||||
],
|
||||
explode(
|
||||
|
@ -421,6 +426,7 @@ class frontend{
|
|||
2
|
||||
)[1]
|
||||
)
|
||||
)
|
||||
);
|
||||
|
||||
// replace colors
|
||||
|
|
Loading…
Reference in New Issue