Detecting "type-video" at the conversion. (Mostly used by reimporting posts from pump.io that come from friendica)

This commit is contained in:
Michael Vogel 2014-05-29 11:42:41 +02:00
parent b6c1d7dc2b
commit d001e19035

View file

@ -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]');