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.

贡献指南

打开贡献指南

调研方向

Start by reproducing the behavior using the two linked GitHub comment samples and compare the email text with the displayed comment. Trace how the parser distinguishes quoted content from the reply, then verify that only quoted paragraphs are treated as comments while the actual reply remains visible as reply text.

由索引模型根据 Issue 内容生成。

评估

技术栈
ruby
领域
backend
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
30/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。