First, thanks for the great filter. I came to install it after spending a whole day trying to find out why my test comments where cut of after

<meta http-equiv=Content-Type content="text/html; charset=utf-8">
<meta name=Generator content="Microsoft Word 10 (filtered)">

<style>

The problem was not related directly to your filter, but to avoid others suffering from this, I thought I should write about it and perhaps it should be included in both this filter documentation and Mailhandler module documentation.

I had -- as a signature separator defined in Mailhandler. I was getting the above code and no message text after retrieving a comment sent by mail.

As I said, I spent a day trying all possible filters, including this one, as the mails where sent from Outlook, all in vain. The problem was that the Mailhandler signature filter takes precedence over your filter and when it sees <!-- or it's closing part it thinks that it's a signature and strips the rest of the message, i.e. the main text. So if anybody is trying to solve a similar problem, by using this filter, it is nothing to do with it, the problem is the Mailhandler signature filter.

Comments

intu.cz’s picture

Frankly, this is confusing. After switching the signature filter on Mailhandler, and making the whole email commenting work, I tried to put the signature back, using "-- " and nothing breaks this time, but nothing strips as well. Please disregard my previous comment.

danepowell’s picture

Status: Active » Closed (works as designed)

Just FYI, in the new branches (2.x) of Mailhandler the signature strippers are input filters just like this one, so they can be reordered however you want.