Skip to content

Not detecting quoted content in emails coming from Mail.app #43

Open

Description

@jdpopkin

See jdpopkin@bf9d5ce for an example of this.

Activity

  1. jdpopkin commented on Oct 6, 2015

    @jdpopkin
    Author

    It looks like Mail.app adds an extra > before the "On... [name] wrote:" line. This is an excerpt from the email source:

    No, it=E2=80=99s just our mail being slow.
    > On Oct 6, 2015, at 10:47, Dmitriy Likhten <notifications@github.com> =
    wrote:
    >=20
    > let me know what happens! :)
    >=20
    > =E2=80=94
    > Reply to this email directly or view it on GitHub =
    <https://github.com/jdpopkin/email_reply_parser/commit/bf9d5ce00f52f9096ac=
    f87a60f3ed6134338f03e#commitcomment-13616669>.
    >=20
    
  2. jdpopkin commented on Oct 6, 2015

    @jdpopkin
    Author

    Actually, the real problem might be the second and third lines from the bottom there - Apple Mail has formatted this URL and broken it up over multiple lines. But it hasn't added a > at the beginning of these lines. So email_reply_parser thinks that those lines are unquoted, and that the previous quoted section is an interleaved quote that shouldn't be hidden.

    That sounds fixable, but messy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions