[Rt-commit] rt branch, 4.4/respect-article-escape-html-in-includearticle, repushed
Craig Kaiser
craig at bestpractical.com
Tue Jan 21 15:47:06 EST 2020
The branch 4.4/respect-article-escape-html-in-includearticle was deleted and repushed:
was 04f07c7132225b5aa762885a01b19ed6dc128557
now 847aedb3237716ec5c774098dc8cb97a6349a4ac
1: 04f07c7132 ! 1: 847aedb323 Do not encode HTML if skip Escape HTML option selected
@@ -10,8 +10,7 @@
$m->callback( Article => $article, Ticket => $Ticket, formatted_article => \$formatted_article, ARGSRef => \%ARGS );
- if (RT->Config->Get('MessageBoxRichText', $session{'CurrentUser'})) {
-+ my $class = $article->ClassObj;
-+ if ( not $class->FirstAttribute("Skip-EscapeHTML") && RT->Config->Get('MessageBoxRichText', $session{'CurrentUser'}) {
++ if ( !$article->ClassObj->FirstAttribute("Skip-EscapeHTML") && RT->Config->Get('MessageBoxRichText', $session{'CurrentUser'}) ) {
$formatted_article =~ s/>/>/g;
$formatted_article =~ s/</</g;
$formatted_article =~ s/&/&/g;
More information about the rt-commit
mailing list