friendica/include/html2bbcode.php

6 lines
125 B
PHP

<?php
function html2bbcode($message, $basepath = '')
{
return Friendica\Content\Text\HTML::toBBCode($message, $basepath);
}