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

Aberta
#3 0 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Ruby
Estrelas
708
Forks
156
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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?

Guia de contribuição

Abrir o guia de contribuição

Direção de pesquisa

Start by reproducing the issue with the email example and inspect the parser's handling of markdown-style quotes and the “On Oct 9, 2011...” reply marker. Done means the trailing quote is not included in the visible fragment while the original quoted email remains hidden.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
ruby
Domínio
backend
Tipo de issue
Bug
Dificuldade
3/5
Tempo estimado
1-2 dias
Status de atividade
Estagnada
Clareza
Razoavelmente clara
Facilidade para iniciantes
35/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.