-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Strip the last line created by email clients before posting #6
Comments
A couple of thoughts off the top of my head...
On 4/19/12 5:28 PM, r-a-y wrote:
|
I had the exact same idea with the colon! In fact, I had edited the original issue with this point before you posted about it! ;) |
Commit f492856 overhauls email signature stripping. Closing for now. |
Also see commit 4792e87 for additional email sig tweaking. |
When people reply by email via their preferred email client, a "USER wrote:" line (or variations of this string that include the timestamp or different verbiage) will be prepended to the "--- Reply ABOVE THIS LINE to add a comment ---" line.
Most people will not remove this line when replying. Hence this "USER wrote:" string will also be posted.
Perhaps do a regex match for this line and strip it before posting. We'll also have to look out for localized email clients as well.
Note: Basecamp, which this plugin is modelled after, does not do this.
Perhaps we can just search the last line and last character to see if a colon exists. If it does, strip the line?
The text was updated successfully, but these errors were encountered: