diff --git a/include/bbcode.php b/include/bbcode.php
index 1d11f687de..9c70cb494a 100755
--- a/include/bbcode.php
+++ b/include/bbcode.php
@@ -165,6 +165,7 @@ lower-alpha;">$2' ,$Text);
$Text = preg_replace("/\[list=((?-i)A)\](.*?)\[\/list\]/ism", '
' ,$Text);
+ $Text = preg_replace("/\[th\](.*?)\[\/th\]/sm", '$1 | ' ,$Text);
$Text = preg_replace("/\[td\](.*?)\[\/td\]/sm", '$1 | ' ,$Text);
$Text = preg_replace("/\[tr\](.*?)\[\/tr\]/sm", '$1
' ,$Text);
$Text = preg_replace("/\[table\](.*?)\[\/table\]/sm", '' ,$Text);