Fix collapse issue in test-suite.
--- 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)));
});
});