mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-21 18:37:31 +08:00
fix code tag display original
This commit is contained in:
@@ -225,7 +225,7 @@ function formatUrl($url, $newWindow = false, $text = '', $linkClass = '') {
|
||||
}
|
||||
function formatCode($text) {
|
||||
global $lang_functions;
|
||||
return addTempCode("<br /><div class=\"codetop\">".$lang_functions['text_code']."</div><div class=\"codemain\">$text</div><br />");
|
||||
return addTempCode("<br /><div class=\"codetop\">".$lang_functions['text_code']."</div><div class=\"codemain\"><pre><code>$text</code></pre></div><br />");
|
||||
}
|
||||
|
||||
function formatImg($src, $enableImageResizer, $image_max_width, $image_max_height, $imgId = "") {
|
||||
|
||||
Reference in New Issue
Block a user