aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/bbcode.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/bbcode.php b/include/bbcode.php
index 794cb25d0..7c2ba30f8 100644
--- a/include/bbcode.php
+++ b/include/bbcode.php
@@ -947,7 +947,7 @@ function bb_code_unprotect_sub($match) {
function bb_code($match) {
if(strpos($match[0], PHP_EOL))
- return '<pre><code>' . bb_code_protect(trim($match[1])) . '</code></pre>';
+ return '<code>' . bb_code_protect(trim($match[1])) . '</code>';
else
return '<code class="inline-code">' . bb_code_protect(trim($match[1])) . '</code>';
}