mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-07 08:37:49 +08:00
ca95d03c5d
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 |
||
---|---|---|
.. | ||
keymaps | ||
lib | ||
spec | ||
stylesheets | ||
.bowerrc | ||
.gitignore | ||
bower.json | ||
build.js | ||
CHANGELOG.md | ||
end.frag | ||
package.json | ||
README.md | ||
start.frag |