src/rdfa-processor.js
function(baseURI) {
      var hash = baseURI.indexOf("#");
      if (hash>=0) {
        baseURI = baseURI.substring(0,hash);
      }
      if (options && options.baseURIMap) {
        baseURI = options.baseURIMap(baseURI);
      }
      return baseURI;
    }
function(baseURI) {
      var hash = baseURI.indexOf("#");
      if (hash>=0) {
        baseURI = baseURI.substring(0,hash);
      }
      if (options && options.baseURIMap) {
        baseURI = options.baseURIMap(baseURI);
      }
      return baseURI;
    }
function ( baseURI ) { var hash = baseURI . indexOf ( "#" ) ; if ( hash >= 0 ) { baseURI = baseURI . substring ( 0 , hash ) ; } if ( options && options . baseURIMap ) { baseURI = options . baseURIMap ( baseURI ) ; } return baseURI ; }
Fix for Firefox that includes the hash in the base URI
Fix for Firefox that includes the hash in the base URI