removing unneeded slashes
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 21 Sep 2005 16:31:13 +0000 (16:31 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 21 Sep 2005 16:31:13 +0000 (16:31 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@1844 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/apachemods/json_xml.c

index 0cd42a4..315affd 100644 (file)
@@ -76,10 +76,10 @@ void _rest_xml_output(growing_buffer* buf, jsonObject* obj, char * obj_class, in
    /* add class hints if we have a class name */
    if(obj->classname) {
        if(obj->type == JSON_NULL) {
-                       buffer_fadd(buf,"<%s><Object class_hint=\\\"%s\\\"/></%s>", tag, obj->classname, tag);
+                       buffer_fadd(buf,"<%s><Object class_hint=\"%s\"/></%s>", tag, obj->classname, tag);
                        return;
                } else {
-                       buffer_fadd(buf,"<%s><Object class_hint=\\\"%s\\\">", tag, obj->classname);
+                       buffer_fadd(buf,"<%s><Object class_hint=\"%s\">", tag, obj->classname);
                }
        }