Sven
July 15, 2021, 6:42pm
1
My previous post is missing the first line
“From my point of view, VPNs and also Tor are used by a lot of folks”
@deeplow … that line unintentionally started with a " " (space).
Discourse appears to be unreasonably aggressive about pruning quotes in
email replies, can this be dialed back a bit? My post are frequently
mutilated or missing quotes / examples.
Not sure. Will have to investigate. I know there are some settings.
Also, as far as I’m aware the reply trimmer’s code is the following. Maybe you can find the problematic pattern there and address it upstream:
# On 10/12/15 12:30, Jeff Atwood wrote:
# ---- On Tue, 22 Dec 2015 14:17:36 +0530 Sam Saffron<info@discourse.org> wrote ----
# Op 24 aug. 2013 om 16:48 heeft ven88 via Discourse Meta <info@discourse.org> het volgende geschreven:
# Le 4 janv. 2016 19:03, "Neil Lalonde" <info@discourse.org> a écrit :
# Dnia 14 lip 2015 o godz. 00:25 Michael Downey <info@discourse.org> napisał(a):
# Em seg, 27 de jul de 2015 17:13, Neil Lalonde <info@discourse.org> escreveu:
# El jueves, 21 de noviembre de 2013, codinghorror escribió:
# At 6/16/2016 08:32 PM, you wrote:
ON_DATE_SOMEONE_WROTE_REGEXES ||= [
# Chinese
/^[[:blank:]<>-]*在 (?:(?!\b(?>在|写道)\b).)+?写道[[:blank:].:>-]*$/im,
# Dutch
/^[[:blank:]<>-]*Op (?:(?!\b(?>Op|het\svolgende\sgeschreven|schreef)\b).)+?(het\svolgende\sgeschreven|schreef[^:]+)[[:blank:].:>-]*$/im,
# English
/^[[:blank:]<>-]*In message (?:(?!\b(?>In message|writes)\b).)+?writes[[:blank:].:>-]*$/im,
/^[[:blank:]<>-]*(On|At) (?:(?!\b(?>On|wrote|writes|says|said)\b).)+?(wrote|writes|says|said)[[:blank:].:>-]*$/im,
# French
/^[[:blank:]<>-]*Le (?:(?!\b(?>Le|nous\sa\sdit|a\s+écrit)\b).)+?(nous\sa\sdit|a\s+écrit)[[:blank:].:>-]*$/im,
# German
/^[[:blank:]<>-]*Am (?:(?!\b(?>Am|schrieben\sSie)\b).)+?schrieben\sSie[[:blank:].:>-]*$/im,
/^[[:blank:]<>-]*Am (?:(?!\b(?>Am|geschrieben)\b).)+?(geschrieben|schrieb[^:]+)[[:blank:].:>-]*$/im,
1 Like
@Sven I’ve checked the settings and I don’t see any option I can tweak to make this easier for you. Perhaps starting a discussion on discourse meta is the best solution. Something like this one:
There are many open bugs on meta related to incorrect email reply parsing and I have been looking into them since past few days. Almost everytime the fix is to correct/modify something in GitHub’s email_reply_parser library. The GitHub’s...
Reading time: 1 mins 🕑
Likes: 68 ❤