Browse Source

Remove references to include/bb2diaspora.php

pull/4548/head
Hypolite Petovan 3 years ago
parent
commit
bb7f459b47
2 changed files with 3 additions and 5 deletions
  1. +3
    -4
      mod/babel.php
  2. +0
    -1
      src/Protocol/Diaspora.php

+ 3
- 4
mod/babel.php 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);


+ 0
- 1
src/Protocol/Diaspora.php 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


Loading…
Cancel
Save