Update to latest jsonld.js.
authorDave Longley <dlongley@digitalbazaar.com>
Fri, 15 Feb 2013 14:00:49 -0500
changeset 1273 624011ce90e4
parent 1272 1faf5fd9c73b
child 1274 f314de571def
Update to latest jsonld.js.
playground/jsonld.js
--- a/playground/jsonld.js	Fri Feb 15 13:43:52 2013 -0500
+++ b/playground/jsonld.js	Fri Feb 15 14:00:49 2013 -0500
@@ -2184,7 +2184,8 @@
       var nodes = ['subject', 'object', 'name'];
       for(var n in nodes) {
         var node = nodes[n];
-        if(statement[node] && statement[node].interfaceName === 'BlankNode') {
+        if(statement[node] && statement[node].interfaceName === 'BlankNode' &&
+          statement[node].nominalValue.indexOf('_:c14n') !== 0) {
           statement[node].nominalValue = namer.getName(
             statement[node].nominalValue);
         }