[libgda] Corrected HTML output containing <SCRIPT> tag



commit 293b3c1a9ae0c0e5f4f6b8997ceb3e48dfab4892
Author: Vivien Malerba <malerba gnome-db org>
Date:   Mon Feb 1 20:58:53 2016 +0100

    Corrected HTML output containing <SCRIPT> tag

 tools/common/web-server.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tools/common/web-server.c b/tools/common/web-server.c
index 8b4e9c5..07295d6 100644
--- a/tools/common/web-server.c
+++ b/tools/common/web-server.c
@@ -734,7 +734,7 @@ get_for_console (WebServer *server, SoupMessage *msg)
        xmlSetProp (node, BAD_CAST "type", BAD_CAST "text/javascript");
        xmlSetProp (node, BAD_CAST "src", BAD_CAST "/mouseapp_2.js");
 
-       node = xmlNewChild (hdoc->head, NULL, BAD_CAST "script", BAD_CAST "");
+       node = xmlNewChild (hdoc->head, NULL, BAD_CAST "script", BAD_CAST " ");
        xmlSetProp (node, BAD_CAST "type", BAD_CAST "text/javascript");
        xmlSetProp (node, BAD_CAST "src", BAD_CAST "/mouseirb_2.js");
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]