Mailspring/packages/local-sync/spec/fixtures/MessageFactory/extractSnippet
Christine Spang de1b67287c fix(snippet-parsing): Don't add extraneous spaces after text format tags
Summary:
This was leading us to put funny things like 'Nylas !' in some snippets that used
tags like <i> and <b> for text formatting. This is probs a teeny little bit slower
than the previous version since it invokes a callback on a lot more nodes, but we
can't really fix this issue without knowledge of the preceding tag name.

Test Plan: unit test included!!

Reviewers: evan, jackie

Reviewed By: jackie

Differential Revision: https://phab.nylas.com/D3553
2016-12-23 18:26:35 -08:00
..
finimize.html [local-sync] Parse DOM to extract snippets 2016-12-13 16:32:22 -08:00
finimize.txt fix(snippet-parsing): Don't add extraneous spaces after text format tags 2016-12-23 18:26:35 -08:00
fittymi.html [local-sync] Parse DOM to extract snippets 2016-12-13 16:32:22 -08:00
fittymi.txt [local-sync] Parse DOM to extract snippets 2016-12-13 16:32:22 -08:00
mit_events.html [local-sync] Parse DOM to extract snippets 2016-12-13 16:32:22 -08:00
mit_events.txt [local-sync] Parse DOM to extract snippets 2016-12-13 16:32:22 -08:00
personal_capital.html [local-sync] Parse DOM to extract snippets 2016-12-13 16:32:22 -08:00
personal_capital.txt [local-sync] Parse DOM to extract snippets 2016-12-13 16:32:22 -08:00