mailgun / talon

Apache License 2.0
1.27k stars 285 forks source link

Support for Outlook on iOS (Acompli) / Outlook Web App (beta) #153

Open Savageman opened 7 years ago

Savageman commented 7 years ago

Outlook on iOS (formerly Acompli) quotations consists of 2 divs like this:

<hr>
<div id="divRplyFwdMsg">From: ... \nDate: ... \nSubject: ...</div>
<div>The original message</div>

But currently talon removes the From: ... Date: ... Subject: ... part but leaves the following div containing the original message (I believe using the cut_from_block function).

When matching div[id=divRplyFwdMsg] it should remove both the current div, and also the next one, and the previous <hr>.