Detecting "type-video" at the conversion. (Mostly used by reimporting posts from pump.io that come from friendica)
This commit is contained in:
parent
b6c1d7dc2b
commit
d001e19035
|
@ -167,6 +167,7 @@ function html2bbcode($message)
|
||||||
// Test
|
// Test
|
||||||
//node2bbcode($doc, 'span', array('class'=>'/([\w ]+)/'), '[class=$1]', '[/class]');
|
//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-link'), '[class=type-link]', '[/class]');
|
||||||
|
node2bbcode($doc, 'span', array('class'=>'type-video'), '[class=type-video]', '[/class]');
|
||||||
|
|
||||||
node2bbcode($doc, 'strong', array(), '[b]', '[/b]');
|
node2bbcode($doc, 'strong', array(), '[b]', '[/b]');
|
||||||
node2bbcode($doc, 'em', array(), '[i]', '[/i]');
|
node2bbcode($doc, 'em', array(), '[i]', '[/i]');
|
||||||
|
|
Loading…
Reference in a new issue