diff --git a/lib/frontend.php b/lib/frontend.php
index 41f9bad..4b98849 100644
--- a/lib/frontend.php
+++ b/lib/frontend.php
@@ -402,29 +402,24 @@ class frontend{
$text =
trim(
- preg_replace(
- '/<\/span>$/',
- "", // remove stray ending span because of the ',
- ' '
- ],
- [
- "\n", // replace
with newlines
- " " // replace html entity to space
- ],
- str_replace(
- [
- // leading \n<?php ",
- "",
- "
"
- ],
- "",
- highlight_string("",
+ " ",
+ "
", + "" + ], + [ + "\n", + " ", + "", + "" + ], + explode( + "<?php", + highlight_string("