feat: edit an HTML email as a plain text
Merged
SN
9d ago+272+272+012345678901234567890123456789-32-32-01234567890123456789
It does minimal processing like \n → <br>, < → <, > → > and so on.
Closes #6
Summary by cubic
Allows editing HTML emails as plain text. HTML emails are now converted to plain text before being sent to the editor, and changes are converted back to HTML on write. A new "Edit HTML as-is" option (default off) keeps the previous behavior. Closes #6.
Migration
- Minimum supported Thunderbird version is now 140 (was 128) since the conversion relies on
messengerUtilities.convertToPlainText; older versions must upgrade.
Bug Fixes
- The compose body is now read with
innerTextinstead oftextContent, so<br>tags become actual newlines in the editor.