friendica-github/include/bbcode.php
2018-02-04 19:26:22 -05:00

11 lines
277 B
PHP

<?php
/**
* @file include/bbcode.php
*/
use Friendica\Content\Text\BBCode;
function bbcode($Text, $preserve_nl = false, $tryoembed = true, $simplehtml = false, $forplaintext = false)
{
return BBCode::convert($Text, $preserve_nl, $tryoembed, $simplehtml, $forplaintext);
}