fix glitch in escaping call number labels
authorgmc <gmc@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 27 Oct 2010 12:06:22 +0000 (12:06 +0000)
committergmc <gmc@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 27 Oct 2010 12:06:22 +0000 (12:06 +0000)
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@18487 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/WWW/SuperCat.pm

index 3e81d2f..88c17f3 100644 (file)
@@ -53,8 +53,8 @@ $browse_types{call_number}{xml} = sub {
                my $cn_label = $cn->label;
 
                $cn_label =~ s/\n//gos;
-               $cn_label =~ s/'/&apos;/go;
                $cn_label =~ s/&/&amp;/go;
+               $cn_label =~ s/'/&apos;/go;
                $cn_label =~ s/</&lt;/go;
                $cn_label =~ s/>/&gt;/go;