Browse Source

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

pull/998/head
Michael Vogel 6 years ago
parent
commit
d001e19035
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      include/html2bbcode.php

+ 1
- 0
include/html2bbcode.php 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]');


Loading…
Cancel
Save