Fix collapse issue in test-suite.
authorGregg Kellogg <gregg@kellogg-assoc.com>
Wed, 28 Aug 2013 17:25:34 -0700
changeset 1949 c1c66daf5460
parent 1948 3987fd184cdf
child 1950 93833b44b434
Fix collapse issue in test-suite.
test-suite/index.html
--- a/test-suite/index.html	Wed Aug 28 16:54:49 2013 -0700
+++ b/test-suite/index.html	Wed Aug 28 17:25:34 2013 -0700
@@ -61,7 +61,7 @@
   <style>
     li code, p code {display: inline;}
 
-    
+    footer {text-align: center;}
   </style>
 </head>
 <body onload="load_manifests();">
@@ -216,11 +216,9 @@
         <section id="manifests" class="panel-group offset2 span8">
         </section>
       </div>
-      <div id="footer">
-         <p id="copyright">
-            The JSON-LD test suite is released under a <a href="http://creativecommons.org/about/cc0">Creative Commons CC0 Public Domain Dedication</a>.
-         </p>
-      </div>
+      <footer id="copyright">
+        The JSON-LD test suite is released under a <a href="http://creativecommons.org/about/cc0">Creative Commons CC0 Public Domain Dedication</a>.
+      </footer>
 </div>
 
 <!-- Script tags -->
@@ -246,7 +244,7 @@
       $("#manifests").append($("<section id='" + index + "' class='panel panel-default'/>"));
       $.getJSON(man, null, function(data, status, xhv) {
         if (data.name == "Compaction") {data['in'] = 'in'}
-        data.anchor = data.name.replace(' ', '-');
+        data.anchor = data.name.replace(/\s+/g, '-');
         $("#manifests section#" + index).append($(man_tmpl(data)));
       });
     });