Reduce an HTML string to a trimmed, single-line plain-text snippet: strip tags, unescape the handful of entities Foundry's editor emits, and collapse whitespace. Keeps the rich-text notes field legible in a narrow table cell.
notes
The (possibly HTML) notes string.
The plain-text snippet.
Reduce an HTML string to a trimmed, single-line plain-text snippet: strip tags, unescape the handful of entities Foundry's editor emits, and collapse whitespace. Keeps the rich-text
notesfield legible in a narrow table cell.