]> granicus.if.org Git - graphviz/commitdiff
leave '<' '>' substituted for now...
authorellson <devnull@localhost>
Wed, 2 Apr 2008 22:39:55 +0000 (22:39 +0000)
committerellson <devnull@localhost>
Wed, 2 Apr 2008 22:39:55 +0000 (22:39 +0000)
lib/common/labels.c

index 56f54e2a82e97eca0714b8727edd52510c5eae37..ebc7c988dcc7bcee3219efebf927ac49e92755fb 100644 (file)
@@ -450,7 +450,6 @@ char *xml_url_string(char *s)
            sub = "&amp;";
            len = 5;
        }
-#if 0
        /* '<' '>' are safe to substitute even if string is already UTF-8 coded
         * since UTF-8 strings won't contain '<' or '>' */
        else if (*s == '<') {
@@ -461,6 +460,7 @@ char *xml_url_string(char *s)
            sub = "&gt;";
            len = 4;
        }
+#if 0
        else if (*s == '-') {   /* can't be used in xml comment strings */
            sub = "&#45;";
            len = 5;