quentez / talonjs

JavaScript port of the Talon email quote parsing library.
MIT License
15 stars 9 forks source link

Add new property `usingCheckpoints` to ExtractFromHtmlResult #35

Closed khennes closed 4 years ago

khennes commented 4 years ago

Adds an optional new property to ExtractFromHtmlResult to indicate whether a quote was found using checkpoints or by a more brute-force way of stripping out known quotation tags. The goal is to enable gathering more data about how often this results in false positives (removing quotes that should be considered part of the reply). The property is only added when didFindQuote is true.

Also adds a failing/skipped test for one known case of this type of false positive.