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

pull/998/head
Michael Vogel 2014-05-29 11:42:41 +02:00
rodzic b6c1d7dc2b
commit d001e19035
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

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