Cut html to at most maxBytes of UTF-8, never inside a character. The markup may end mid-tag; the UI's sanitizer closes what it keeps.
html
maxBytes
Cut
htmlto at mostmaxBytesof UTF-8, never inside a character. The markup may end mid-tag; the UI's sanitizer closes what it keeps.