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

Ouverte
#3 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Ruby
Étoiles
708
Forks
156
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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?

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Commencez par reproduire le problème avec l’exemple d’e-mail et examinez la manière dont le parser gère les citations de type markdown et le marqueur de réponse « On Oct 9, 2011... ». C’est terminé lorsque la citation finale n’est pas incluse dans le fragment visible, tandis que l’e-mail cité d’origine reste masqué.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
ruby
Domaine
backend
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.