Expand description
Utility functions for text manipulation and wrapping.
Structs§
Functions§
- html_
entities - normalize
- Expands tab characters into 4 spaces and HTML-escapes the result,
matching java-diff-utils’
StringUtils.normalize. - wrap_
text - Wraps text to column_width, joining wrapped segments with
<br/>tags. A column_width of 0 leaves the line untouched (no wrapping is possible). - wrap_
text_ list