2012-06-26 05:01:32 +00:00
|
|
|
<?php
|
2018-01-22 19:08:58 +00:00
|
|
|
/**
|
|
|
|
* @file include/bbcode.php
|
|
|
|
*/
|
2018-02-04 23:44:42 +00:00
|
|
|
|
2018-01-27 01:01:32 +00:00
|
|
|
use Friendica\Content\Text\BBCode;
|
2016-06-16 09:38:12 +00:00
|
|
|
|
2018-01-07 15:01:41 +00:00
|
|
|
function bbcode($Text, $preserve_nl = false, $tryoembed = true, $simplehtml = false, $forplaintext = false)
|
|
|
|
{
|
2018-02-15 01:28:10 +00:00
|
|
|
return BBCode::convert($Text, $tryoembed, $simplehtml, $forplaintext);
|
2010-08-20 03:52:49 +00:00
|
|
|
}
|