friendica-github/include/bbcode.php
2018-02-14 21:31:28 -05:00

11 lines
263 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, $tryoembed, $simplehtml, $forplaintext);
}