Add result window for item tags in mod/babel
This commit is contained in:
parent
30e97b4cc1
commit
bd031d0b87
1 changed files with 15 additions and 0 deletions
|
@ -72,6 +72,21 @@ function babel_content()
|
||||||
'title' => L10n::t('BBCode::toMarkdown => Markdown::convert => HTML::toBBCode'),
|
'title' => L10n::t('BBCode::toMarkdown => Markdown::convert => HTML::toBBCode'),
|
||||||
'content' => visible_whitespace($bbcode4)
|
'content' => visible_whitespace($bbcode4)
|
||||||
];
|
];
|
||||||
|
|
||||||
|
$item = [
|
||||||
|
'body' => $bbcode,
|
||||||
|
'tag' => '',
|
||||||
|
];
|
||||||
|
|
||||||
|
\Friendica\Model\Item::setHashtags($item);
|
||||||
|
$results[] = [
|
||||||
|
'title' => L10n::t('Item Body'),
|
||||||
|
'content' => visible_whitespace($item['body'])
|
||||||
|
];
|
||||||
|
$results[] = [
|
||||||
|
'title' => L10n::t('Item Tags'),
|
||||||
|
'content' => $item['tag']
|
||||||
|
];
|
||||||
break;
|
break;
|
||||||
case 'markdown':
|
case 'markdown':
|
||||||
$markdown = trim($_REQUEST['text']);
|
$markdown = trim($_REQUEST['text']);
|
||||||
|
|
Loading…
Reference in a new issue