X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/4c48c47d0b84e516114c16ee191359166e93a51c..0c1b02875d917ed51904d78d4a6f2b6189b67c39:/redakcja/static/js/wiki/xslt.js?ds=inline diff --git a/redakcja/static/js/wiki/xslt.js b/redakcja/static/js/wiki/xslt.js index 4f562a2b..1327fc6c 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; + text_buffer = token.node.nodeValue.replace(/&/g, '&').replace(/