function xml2html(options) {
withStylesheets(function() {
- var xml = options.xml.replace(/\/\s+/g, '<br />');
+ var xml = options.xml.replace(/\/(\s+)/g, '<br />$1');
var parser = new DOMParser();
var serializer = new XMLSerializer();
var doc = parser.parseFromString(xml, 'text/xml');
if(xnode === 'wers') {
/* push children */
if(self._verseBefore(token.node))
- self.result += '/\n';
+ self.result += '/';
self._pushChildren(token.node);
break;
};