diff --git a/inc/functions.php b/inc/functions.php index cbe739c..443d51b 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -143,7 +143,7 @@ function ParseBBCode($text){ $text = mb_eregi_replace("\\[url\\]([^\\[]*)\\[/url\\]","\\1",$text); $text = mb_eregi_replace("\\[url=([^\\[]*)\\]([^\\[]*)\\[/url\\]","\\2",$text); $text = mb_eregi_replace("(^|[>[:space:]\n])([[:alnum:]]+)://([^[:space:]]*)([[:alnum:]#?/&=])([<[:space:]\n]|$)","\\1\\2://\\3\\4\\5", $text); - $text = mb_eregi_replace("\\[youtube]([^\\[]*)\\[/youtube\\]","",$text); + $text = mb_eregi_replace("\\[youtube]([^\\[]*)\\[/youtube\\]","
",$text); $text = mb_eregi_replace("\\[vimeo]([^\\[]*)\\[/vimeo\\]","
vimeo.com/\\1",$text); $text = mb_eregi_replace("\\[vimeohd]([^\\[]*)\\[/vimeohd\\]","
vimeo.com/\\1",$text); $text = mb_eregi_replace("\\[gamevee]([^\\[]*)\\[/gamevee\\]","",$text);