mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-11 10:38:11 +08:00
1e146f6781
Summary: Fixes T2276 Since the new `QuotedHTMLParser` uses full HTML parsing, when you ask it for the version of the document without the quoted nodes, it returns a full html document. Unfortunately I forgot about the 2 <br> tags we manually generate when creating a reply to a message with quoted text. This is a pretty brittle solution, but considerably easier then checking if the contents really are "blank". We could check innerText, but would have to worry about img tags and other text-invisible-but-still-valid elements. Since we control the generation of the reply in the `DraftStore`, I think this is acceptable for now Test Plan: edgehill --test Reviewers: bengotow Reviewed By: bengotow Maniphest Tasks: T2276 Differential Revision: https://phab.nylas.com/D1730 |
||
---|---|---|
.. | ||
compose-button.cjsx | ||
composer-view.cjsx | ||
contenteditable-component.cjsx | ||
file-upload.cjsx | ||
floating-toolbar.cjsx | ||
image-file-upload.cjsx | ||
main.cjsx | ||
participants-text-field.cjsx | ||
scribe-template-regions.js |