github / github/email_reply_parser

wrong comment display (when sent by email)

未關閉
#32 2 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Ruby
星號
708
分支
156
PR 合併指標
30 天內沒有已合併 PR

描述

I have just realized that GitHub displays wrong the comments that have been sent by email.

One sample would be https://github.com/jgm/pandoc/issues/1765#issuecomment-63205580. I received the email message and only the first paragraph should be displayed as a comment (it contains the required `>` in the message). The other two paragraphs are the actual reply (they aren’t formatted as comments in the email message).

Another sample is https://github.com/jgm/pandoc/issues/1612#issuecomment-59676779. In that case, the paragraphs after the last shown without expansion are considered comments. The original message has no comments in that paragraphs.

I think this is an important issue. Otherwise it is really hard to make a distinction between what has been replied and which the reply itself is.

貢獻指南

開啟貢獻指南

研究方向

首先,使用連結的兩個 GitHub 留言範例重現該行為,並將電子郵件文字與顯示的留言進行比較。追蹤 parser 如何區分引用內容與回覆,然後確認只有引用的段落會被視為留言,而實際回覆仍會以回覆文字顯示。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
ruby
領域
backend
Issue 類型
缺陷
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
30/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。