[Rt-commit] rt branch, 4.0/avoid-folding-pgp, created. rt-4.0.2-213-gb756f5b
Thomas Sibley
trs at bestpractical.com
Mon Oct 17 11:35:54 EDT 2011
The branch, 4.0/avoid-folding-pgp has been created
at b756f5bfdfeecc415fb636df40cac916ccf92148 (commit)
- Log -----------------------------------------------------------------
commit b756f5bfdfeecc415fb636df40cac916ccf92148
Author: Thomas Sibley <trs at bestpractical.com>
Date: Mon Oct 17 11:34:53 2011 -0400
Don't trigger Outlook quote folding on PGP signed message or signature blocks
diff --git a/share/html/Ticket/Elements/ShowMessageStanza b/share/html/Ticket/Elements/ShowMessageStanza
index 2188912..48634f0 100755
--- a/share/html/Ticket/Elements/ShowMessageStanza
+++ b/share/html/Ticket/Elements/ShowMessageStanza
@@ -102,6 +102,8 @@ AGAIN: foreach ( ; $i < @$Message; $i++ ) {
(?:
-{3,} # at least three hyphens
\s* # whitespace varies between Outlook versions
+ # don't trigger on PGP signed message or signature blocks
+ (?!(?:BEGIN|END)\s+PGP)
[\w\s]+? # words, loose to get different languages
\s* # whitespace varies between Outlook versions
-{3,} # at least three hyphens again
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list