Skip to content

If an email reply ends with a markdown-style quote, email reply parser includes this quote in the fragment corresponding to the quoted email reply #3

Open

Description

@RogerPodacter

For example:

Hi! I'm replying to an email! let me end it with a quote:

> this is a quote! 

On Oct 9, 2011, at 3:47 PM, Maboo <hello@rapgenius.com> wrote:

> THIS IS THE ORIGINAL EMAIL!
> HI!

This produces the following fragments:

--- 
- !ruby/struct:EmailReplyParser::Fragment 
  quoted: false
  signature: false
  hidden: false
  "@content": "Hi! I'm replying to an email! let me end it with a quote:"
  "@lines": 
- !ruby/struct:EmailReplyParser::Fragment 
  quoted: true
  signature: false
  hidden: true
  "@content": |-

    > this is a quote!

    On Oct 9, 2011, at 3:47 PM, Maboo <hello@rapgenius.com> wrote:

    > THIS IS THE ORIGINAL EMAIL!
    > HI!
  "@lines": 

Maybe ERP should look for the On Oct 9, 2011, at 3:47 PM, Maboo <hello@rapgenius.com> wrote business as well as the angle bracket?

Activity

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