@@ -26,7 +26,7 @@ |
||
26 | 26 | $text = str_replace(["\n", "\n\r", "\r\n", "\r"], '', $text); |
27 | 27 | |
28 | 28 | $text = preg_replace_callback('/<json><br \/>(.*?)<\/json>/s', function($item) { |
29 | - $s = '<br><pre class="apiDocu-json">' . str_replace("<br>", '', end($item)) . '</pre>'; |
|
29 | + $s = '<br><pre class="apiDocu-json">'.str_replace("<br>", '', end($item)).'</pre>'; |
|
30 | 30 | $s = preg_replace('/(\s)"([^"]+)"/', '$1<span class="apiDocu-string">"$2"</span>', $s); |
31 | 31 | $s = preg_replace('/\/\/(.*?)<br \/>/', '<span class="apiDocu-comment">//$1</span><br>', $s); |
32 | 32 |