X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/4c48c47d0b84e516114c16ee191359166e93a51c..ec5b493bff5efa683aadf5f78aa891eff3550156:/redakcja/static/js/wiki/xslt.js 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(/