1
0
Fork 0

Remove references to include/bb2diaspora.php

This commit is contained in:
Hypolite Petovan 2018-03-04 17:43:41 -05:00
parent 26ea6f69d7
commit bb7f459b47
2 changed files with 3 additions and 5 deletions

View file

@ -7,7 +7,6 @@ use Friendica\Content\Text\BBCode;
use Friendica\Content\Text\Markdown;
use Friendica\Core\L10n;
require_once 'include/bb2diaspora.php';
require_once 'include/html2bbcode.php';
function visible_lf($s)
@ -50,15 +49,15 @@ function babel_content()
$o .= visible_lf($bbcode) . EOL . EOL;
$diaspora = BBCode::toMarkdown($text);
$o .= '<h2>' . L10n::t('bb2diaspora: ') . '</h2>' . EOL . EOL;
$o .= '<h2>' . L10n::t('BBCode::toMarkdown: ') . '</h2>' . EOL . EOL;
$o .= visible_lf($diaspora) . EOL . EOL;
$html = Markdown::convert($diaspora);
$o .= '<h2>' . L10n::t('bb2diaspora => Markdown: ') . '</h2>' . EOL . EOL;
$o .= '<h2>' . L10n::t('BBCode::toMarkdown => Markdown::convert: ') . '</h2>' . EOL . EOL;
$o .= $html . EOL . EOL;
$bbcode = Markdown::toBBCode($diaspora);
$o .= '<h2>' . L10n::t('bb2diaspora => diaspora2bb: ') . '</h2>' . EOL . EOL;
$o .= '<h2>' . L10n::t('BBCode::toMarkdown => Markdown::toBBCode: ') . '</h2>' . EOL . EOL;
$o .= visible_lf($bbcode) . EOL . EOL;
$bbcode = html2bbcode($html);

View file

@ -36,7 +36,6 @@ use SimpleXMLElement;
require_once 'include/dba.php';
require_once 'include/items.php';
require_once 'include/bb2diaspora.php';
/**
* @brief This class contain functions to create and send Diaspora XML files