mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-24 16:14:01 +08:00
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 |
||
---|---|---|
.. | ||
components | ||
fixtures | ||
models | ||
n1-spec-runner | ||
registries | ||
services | ||
stores | ||
tasks | ||
themes | ||
utils | ||
action-bridge-spec.coffee | ||
async-test-spec.es6 | ||
auto-update-manager-spec.coffee | ||
buffered-process-spec.coffee | ||
database-object-registry-spec.es6 | ||
default-client-helper-spec.coffee | ||
list-selection-spec.coffee | ||
mail-rules-processor-spec.coffee | ||
mailbox-perspective-spec.es6 | ||
menu-manager-spec.coffee | ||
module-cache-spec.coffee | ||
nylas-api-spec.coffee | ||
nylas-env-spec.es6 | ||
nylas-protocol-handler-spec.es6 | ||
nylas-test-utils.coffee | ||
package-manager-spec.coffee | ||
package-spec.coffee | ||
spellchecker-spec.es6 | ||
undo-stack-spec.es6 |