diff --git a/ext/bbcode/main.php b/ext/bbcode/main.php
index f5c9a5c0..33165a39 100644
--- a/ext/bbcode/main.php
+++ b/ext/bbcode/main.php
@@ -12,6 +12,7 @@ class BBCode extends Extension {
$text = preg_replace("/\[b\](.*?)\[\/b\]/s", "\\1", $text);
$text = preg_replace("/\[i\](.*?)\[\/i\]/s", "\\1", $text);
$text = preg_replace("/\[u\](.*?)\[\/u\]/s", "\\1", $text);
+ $text = preg_replace("/\[s\](.*?)\[\/s\]/s", "\\1", $text);
$text = preg_replace("/\[code\](.*?)\[\/code\]/s", "
\\1", $text); $text = preg_replace("/>>(\d+)/s", ">>\\1", $text); $text = preg_replace("/>>([^\d].+)/", "
\\1", $text); @@ -38,6 +39,7 @@ class BBCode extends Extension { $text = preg_replace("/\[b\](.*?)\[\/b\]/s", "\\1", $text); $text = preg_replace("/\[i\](.*?)\[\/i\]/s", "\\1", $text); $text = preg_replace("/\[u\](.*?)\[\/u\]/s", "\\1", $text); + $text = preg_replace("/\[s\](.*?)\[\/s\]/s", "\\1", $text); $text = preg_replace("/\[code\](.*?)\[\/code\]/s", "\\1", $text); $text = preg_replace("/\[url=(.*?)\](.*?)\[\/url\]/s", "\\2", $text); $text = preg_replace("/\[url\](.*?)\[\/url\]/s", "\\1", $text);