mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-25 08:35:16 +08:00
Summary: Previously we always created <blockquote class="gmail_quote"> to wrap quoted text. This is not correct. Gmail uses blockquotes only when it wants visual indentation, and <div>s to wrap other quoted text, like forwarded messages which are not displayed indented. This diff updates N1 to match Gmail exactly. Note that for replies, Gmail actually nests a blockquote.gmail_quote inside a div.gmail_quote. I also updated signature handling because it turns out the regexp that was removing existing signatures would blow away any and all divs until it reached a <blockquote> tag. Test Plan: See updated specs. Manually tested by creating a thread in Google Inbox and then performing fwd and reply in both N1 and Inbox. Results match. Reviewers: juan, evan Reviewed By: evan Differential Revision: https://phab.nylas.com/D2750 |
||
---|---|---|
.. | ||
account-store-spec.coffee | ||
category-store-spec.es6 | ||
contact-store-spec.coffee | ||
database-setup-query-builder-spec.coffee | ||
database-store-spec.coffee | ||
database-transaction-spec.coffee | ||
draft-store-proxy-spec.coffee | ||
draft-store-spec.coffee | ||
file-download-store-spec.coffee | ||
file-upload-store-spec.coffee | ||
focused-contacts-store-spec.coffee | ||
focused-content-store-spec.coffee | ||
focused-perspective-store-spec.coffee | ||
message-store-spec.coffee | ||
nylas-sync-status-store-spec.es6 | ||
task-queue-spec.coffee | ||
thread-counts-store-spec.coffee | ||
unread-badge-store-spec.coffee |