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

オープン
#3 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Ruby
スター
708
フォーク
156
PR マージ指標
30日以内にマージされた PR はありません

説明

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?

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。