[Rt-commit] r16205 - in rt/3.8/trunk: .
falcone at bestpractical.com
falcone at bestpractical.com
Thu Oct 2 13:50:51 EDT 2008
Author: falcone
Date: Thu Oct 2 13:50:49 2008
New Revision: 16205
Modified:
rt/3.8/trunk/ (props changed)
rt/3.8/trunk/lib/RT/Transaction_Overlay.pm
Log:
r40379 at ketch: falcone | 2008-10-02 13:50:25 -0400
* fix documentation to stop talking about htmlifying things
Modified: rt/3.8/trunk/lib/RT/Transaction_Overlay.pm
==============================================================================
--- rt/3.8/trunk/lib/RT/Transaction_Overlay.pm (original)
+++ rt/3.8/trunk/lib/RT/Transaction_Overlay.pm Thu Oct 2 13:50:49 2008
@@ -276,10 +276,11 @@
Takes a paramhash. If the $args{'Quote'} parameter is set, wraps this message
at $args{'Wrap'}. $args{'Wrap'} defaults to 70.
-If $args{'Type'} is set to C<text/html>, plain texts are upgraded to HTML.
-Otherwise, HTML texts are downgraded to plain text. If $args{'Type'} is
-missing, it defaults to the value of C<$RT::Transaction::PreferredContentType>,
-if that's missing too, defaults to 'text/plain'.
+If $args{'Type'} is set to C<text/html>, this will return an HTML
+part of the message, if available. Otherwise it looks for a text/plain
+part. If $args{'Type'} is missing, it defaults to the value of
+C<$RT::Transaction::PreferredContentType>, if that's missing too,
+defaults to 'text/plain'.
=cut
@@ -307,7 +308,7 @@
HTML::TreeBuilder->new_from_content( $content )
);
}
- }
+ }
else {
$content =~ s/\n-- \n.*?$//s if $args{'Quote'};
if ($args{Type} eq 'text/html') {
More information about the Rt-commit
mailing list