github / github/email_reply_parser

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

Aperta
#3 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Ruby
Stelle
708
Fork
156
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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 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 wrote:

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

Maybe ERP should look for the `On Oct 9, 2011, at 3:47 PM, Maboo wrote` business as well as the angle bracket?

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.