X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/f938afb8ab4cb091d12e0ef0311eaea14b774798..6452ce53707b8e5c3f9ef95dd3793284272398e4:/redakcja/static/js/wiki/xslt.js diff --git a/redakcja/static/js/wiki/xslt.js b/redakcja/static/js/wiki/xslt.js index dda12a16..532b452b 100644 --- a/redakcja/static/js/wiki/xslt.js +++ b/redakcja/static/js/wiki/xslt.js @@ -218,7 +218,8 @@ HTMLSerializer.prototype.serialize = function(rootElement, stripOuter) switch(token.node.nodeType) { case ELEMENT_NODE: - if(token.node.hasAttribute('x-pass-thru')) { + if(token.node.hasAttribute('x-pass-thru') + || token.node.hasAttribute('data-pass-thru')) { self._pushChildren(token.node); break; }