From: Michael Vogel Date: Thu, 29 May 2014 09:42:41 +0000 (+0200) Subject: Detecting "type-video" at the conversion. (Mostly used by reimporting posts from... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d001e19035b3967786a639c526c1bc7ae0896157;p=friendica.git Detecting "type-video" at the conversion. (Mostly used by reimporting posts from pump.io that come from friendica) --- diff --git a/include/html2bbcode.php b/include/html2bbcode.php index d9255a7ffc..6e9532c92f 100644 --- a/include/html2bbcode.php +++ b/include/html2bbcode.php @@ -167,6 +167,7 @@ function html2bbcode($message) // Test //node2bbcode($doc, 'span', array('class'=>'/([\w ]+)/'), '[class=$1]', '[/class]'); node2bbcode($doc, 'span', array('class'=>'type-link'), '[class=type-link]', '[/class]'); + node2bbcode($doc, 'span', array('class'=>'type-video'), '[class=type-video]', '[/class]'); node2bbcode($doc, 'strong', array(), '[b]', '[/b]'); node2bbcode($doc, 'em', array(), '[i]', '[/i]');