Put the escapes back again.
authorTom Hughes <tom@compton.nu>
Fri, 13 Feb 2009 12:33:54 +0000 (12:33 +0000)
committerTom Hughes <tom@compton.nu>
Fri, 13 Feb 2009 12:33:54 +0000 (12:33 +0000)
app/views/site/_key.rhtml
app/views/site/_search.rhtml

index 64309949815eadc0f80922876e3f8d304d800bfb..c632f16617c6cb2662bacef45a3a80309096f466 100644 (file)
@@ -11,7 +11,7 @@
     else if (zoomlevel<13) { var imgname = 'keymapnik'+zoomlevel+'.png'; }
     else                   { var imgname = 'keymapnik13.png'; }
 
-    updateSidebar("Map key", "<p><img src='images/"+imgname+"' /></p>");
+    updateSidebar("Map key", "<p><img src='images/"+imgname+"' /><\/p>");
     openSidebar({ width: "210px" });
   }
 
index 7817b236158db1a3fb63b1eed98ed34722467009..6ddcc851cd640bab7ac4495d3d18f45013f49e81 100644 (file)
@@ -1,7 +1,7 @@
 <script type="text/javascript">
 <!--
   function startSearch() {
-    updateSidebar("Search Results", "<p class='search_results_entry'>Searching...</p>");
+    updateSidebar("Search Results", "<p class='search_results_entry'>Searching...<\/p>");
 
     $("search_field").style.display = "none";
     $("search_active").style.display = "inline";