friendica/include/html2plain.php

7 lines
154 B
PHP

<?php
function html2plain($html, $wraplength = 75, $compact = false)
{
return Friendica\Content\Text\HTML::toPlaintext($html, $wraplength, $compact);
}