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