Skip to content

Commit

Permalink
Added ability to pass options to libxml.
Browse files Browse the repository at this point in the history
  • Loading branch information
oneironautics committed May 5, 2015
1 parent ea873fe commit 8b2947e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ var handlerMaker = require("./handler-maker");
// assert.equal(xml.book.language[0].$.text(), "English");
//
//
exports.parse = function(str) {
var xml = libxml.parseXmlString(str);
exports.parse = function(str, options) {
var xml = libxml.parseXmlString(str, options);

return convertElement(xml.root());
}
Expand Down

0 comments on commit 8b2947e

Please sign in to comment.