diff --git a/include/bbcode.php b/include/bbcode.php
index cf8d74bb1d..29ee71d410 100644
--- a/include/bbcode.php
+++ b/include/bbcode.php
@@ -325,6 +325,7 @@ function bbcode($Text,$preserve_nl = false, $tryoembed = true) {
$Text = preg_replace("/\[crypt\](.*?)\[\/crypt\]/ism",'
', $Text);
+ $Text = preg_replace("/\[crypt=(.*?)\](.*?)\[\/crypt\]/ism",'
', $Text);
// Try to Oembed