Escaping angle brackets is too pervasive a change in entityize(). Revert this part...
authordbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 7 Oct 2009 17:56:39 +0000 (17:56 +0000)
committerdbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 7 Oct 2009 17:56:39 +0000 (17:56 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14293 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Application/AppUtils.pm

index c6ace2f..557143d 100644 (file)
@@ -1381,10 +1381,8 @@ sub entityize {
                $string = NFC($string);
        }
 
-       # Convert raw ampersands and angle brackets to entities
+       # Convert raw ampersands to entities
        $string =~ s/&(?!\S+;)/&amp;/gso;
-       $string =~ s/</&lt;/gso;
-       $string =~ s/>/&gt;/gso;
 
        # Convert Unicode characters to entities
        $string =~ s/([\x{0080}-\x{fffd}])/sprintf('&#x%X;',ord($1))/sgoe;