Page MenuHomePhabricator
Diviner Arcanist Tech Docs phutil_utf8_hard_wrap_html

function phutil_utf8_hard_wrap_html($string, $width)
Arcanist Technical Documentation ()

Documentation Warnings

This call takes 2 parameters, but only 1 is documented.

Hard-wrap a block of UTF-8 text with embedded HTML tags and entities.

Parameters
string$stringAn HTML string with tags and entities.
$width
Return
listList of hard-wrapped lines.