X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/9053b4410f14a2ceb2b14f9af42dc46c742dc196..36139e06f33f12a03c270d8e091fe0e8fc6f8077:/redakcja/static/js/wiki/xslt.js?ds=sidebyside diff --git a/redakcja/static/js/wiki/xslt.js b/redakcja/static/js/wiki/xslt.js index 9efeba3b..54e7f31a 100644 --- a/redakcja/static/js/wiki/xslt.js +++ b/redakcja/static/js/wiki/xslt.js @@ -253,7 +253,7 @@ HTMLSerializer.prototype.serialize = function(rootElement, stripOuter) break; case TEXT_NODE: self.result += text_buffer; - text_buffer = token.node.nodeValue.replace('&', '&').replace('<', '<'); + text_buffer = token.node.nodeValue.replace(/&/g, '&').replace(/