Tweaking patterns in email_reply_trimmer


(Jay Pfaffman) #1

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?


(Régis Hanol) #2

Remove that line before passing the email to the importer?


(Jay Pfaffman) #3

Well that’s hilariously obvious. :blush: