Tweaking patterns in email_reply_trimmer

Hey, @gerhard. I’m still doing an import with a bunch of mailing lists sucked in to nabble.

There are a bunch of posts that are announcements and have a line of dashes near the top, so the whole post gets truncated by trim since the line is a delimiter:

I think I’m just going to edit out those lines for this import and move on with my life.

But is there a better way?

Remove that line before passing the email to the importer?

Well that’s hilariously obvious. :blush:

Questo problema è stato ora risolto, vedi FIX: preserve inline replies and image lines when trimming emails - Pull Request #25 - discourse/email_reply_trimmer - GitHub

9 anni dopo… wow :slight_smile: