[gnome3-web] Enclose javascript in CDATA
- From: Frederic Peters <fpeters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome3-web] Enclose javascript in CDATA
- Date: Tue, 12 Apr 2011 10:05:26 +0000 (UTC)
commit 6b350da4dde53ea51359fc31e1a86da22a770de7
Author: Frédéric Péters <fpeters 0d be>
Date: Tue Apr 12 12:04:29 2011 +0200
Enclose javascript in CDATA
parties.html | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/parties.html b/parties.html
index 32ebc7b..5ba0c93 100644
--- a/parties.html
+++ b/parties.html
@@ -20,7 +20,7 @@
<script src="js/OpenStreetMap.js" type="text/javascript"></script>
<script src="http://maps.google.com/maps/api/js?sensor=false"></script>
<script type="text/javascript">
-
+//<![CDATA[
var map;
var markers;
var selectControl;
@@ -188,6 +188,7 @@ function init() {
}
}
}
+//]]>
</script>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]