[Rt-commit] rt branch, 4.0/more-conservative-quote-folding, created. rt-4.0.11-91-g9299787
Thomas Sibley
trs at bestpractical.com
Thu May 16 17:53:02 EDT 2013
The branch, 4.0/more-conservative-quote-folding has been created
at 9299787baa49b7d824d82bd584b628a6fc253c0b (commit)
- Log -----------------------------------------------------------------
commit 9299787baa49b7d824d82bd584b628a6fc253c0b
Author: Thomas Sibley <trs at bestpractical.com>
Date: Thu May 16 14:50:09 2013 -0700
Only treat ">" as an email quoting character
All of the other defaults (!, #, %, =, |, :) cause too many false
positives and hardly any true use as a quote character.
diff --git a/share/html/Ticket/Elements/ShowTransactionAttachments b/share/html/Ticket/Elements/ShowTransactionAttachments
index f70f279..b219205 100644
--- a/share/html/Ticket/Elements/ShowTransactionAttachments
+++ b/share/html/Ticket/Elements/ShowTransactionAttachments
@@ -246,6 +246,9 @@ my $render_attachment = sub {
unless ( length $name ) {
eval {
require Text::Quoted;
+ # XXX: Deprecate ->can check in 4.2 and simply bump version requirement.
+ Text::Quoted::set_quote_characters(undef) # only use >
+ if Text::Quoted->can("set_quote_characters");
$content = Text::Quoted::extract($content);
};
if ($@) {
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list