changeset 842:c0025b69a73f

fix web ui abbrevs for xs: Ignore-this: 8fa2219e81e33840f839230f0526ed44
author drewp@bigasterisk.com
date Tue, 26 Mar 2013 07:08:44 +0000
parents b0cf9bcb2230
children 77b5dbcf688d
files light9/rdfdb/web/index.xhtml
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/light9/rdfdb/web/index.xhtml	Tue Mar 26 07:08:03 2013 +0000
+++ b/light9/rdfdb/web/index.xhtml	Tue Mar 26 07:08:44 2013 +0000
@@ -32,7 +32,7 @@
             // this is temporary. The correct thing is to parse the quad (or receive it as a tree) and then make links to the full URIs and display curies of them
 
               return s
-                  .replace(/<http:\/\/www.w3.org\/2001\/XMLSchema#/g, function (match, short) { return "xsd:"+short; })
+                  .replace(/<http:\/\/www.w3.org\/2001\/XMLSchema#(.*?)>/g, function (match, short) { return "xsd:"+short; })
                   .replace(/<http:\/\/light9.bigasterisk.com\/(.*?)>/g, function (match, short) { return "light9:"+short; })
                   .replace(/<http:\/\/light9.bigasterisk.com\/show\/dance2012\/sessions\/(.*?)>/g, function (match, short) { return "kcsession:"+short });
           }
@@ -58,4 +58,4 @@
     </script>
 
   </body>
-</html>
\ No newline at end of file
+</html>