mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-12 12:40:08 +08:00
63a95c2096
Summary: Since we changed the way we mark up plaintext emails to wrap them in <pre> tags, the quote stripper has been failing to restore bodies in the cases where a plaintext email starts with an inline quote (and thus the whole contents of the <pre> tag is detected as a quote string). This diff also fixes the HTML sanitizer to not strip off our custom "nylas-plaintext" class, which isn't currently used for anything but allows us to definitively know which tags we added on for marking up plaintext. Might be useful at some point! Test Plan: unit test included, manual inspection of message display Reviewers: evan Differential Revision: https://phab.nylas.com/D3519 |
||
---|---|---|
.. | ||
inline-style-transformer-spec.coffee | ||
quoted-html-transformer-spec.coffee | ||
quoted-plain-text-transformer-spec.coffee |