이메일 답변에서 수평선 아래 콘텐츠가 삭제되나요?

As the topic name says, it appears content after a horizontal line in email replies is stripped away, even though the horizontal line is in a codeblock.

See Difference between `fail` and `fail-check`? - #3 by sorawee - Questions & Answers - Racket Discourse for an example. It’s supposed to look like this:


pre-content
@--------------------
post-content
pre-content
--------------------
post-content

But Discourse incorrectly processed it, and showed:


pre-content
@--------------------
post-content
pre-content

2개의 좋아요

This is generally done to strip out any email signatures.
The regular expression that looks for this is probably not aware of code blocks.

EDIT I was wrong, that code is aware of code blocks. Do you happen to have access to the original email contents?

4개의 좋아요

Thanks for the report. I’m reworking our HTML to Markdown process and removing all the magic trimming that is doing more harm than good at the same time.

I’ve added your email on my list to check.

1개의 좋아요