[Rt-commit] rt branch, 4.0-trunk, updated. rt-4.0.0rc4-20-gd006664

Alex Vandiver alexmv at bestpractical.com
Mon Jan 24 15:06:30 EST 2011


The branch, 4.0-trunk has been updated
       via  d006664cc9a80278c6c3a4a9bf316c8b5aeda72e (commit)
      from  3acd55caa7fb2ec7ce6384a39a02d1518451ef5a (commit)

Summary of changes:
 lib/RT/Interface/Web.pm |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

- Log -----------------------------------------------------------------
commit d006664cc9a80278c6c3a4a9bf316c8b5aeda72e
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Mon Jan 24 15:06:20 2011 -0500

    One more basic ASCII character that CKeditor changes

diff --git a/lib/RT/Interface/Web.pm b/lib/RT/Interface/Web.pm
index 1a8d27f..49d8d06 100644
--- a/lib/RT/Interface/Web.pm
+++ b/lib/RT/Interface/Web.pm
@@ -903,6 +903,7 @@ sub StripContent {
     $sig =~ s/</&lt;/g;
     $sig =~ s/>/&gt;/g;
     $sig =~ s/"/&quot;/g;
+    $sig =~ s/'/&#39;/g;
     return '' if $html and $content =~ m{^(?:<p>)?(--)?\Q$sig\E(?:</p>)?$}s;
 
     # Pass it through

-----------------------------------------------------------------------


More information about the Rt-commit mailing list