Skip to content

v3.1.4

Choose a tag to compare

@github-actions github-actions released this 29 Nov 02:43
68e7253

3.1.4 (2026-11-29)

Summary

htmlToText() no longer throws on a table cell with a colspan or rowspan in the thousands.

Who should upgrade

  • Everyone converting untrusted HTML. Any sender could make the conversion throw with one table cell.

Highlights

  • A span of four digits or more in a cell's start tag becomes 1 before conversion, so the cell is laid out as a single column or row.

Bug Fixes

  • convert a table whose cell spans run into the thousands (55ca457)
  • convert a table whose cell spans run into the thousands (f9e3cfb)