From d3f64b99ded381d6ea9673c7490336aaeebb24e6 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Wed, 21 Sep 2011 16:47:11 +0200 Subject: [PATCH 1/1] bugfix --- redakcja/static/js/wiki/xslt.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redakcja/static/js/wiki/xslt.js b/redakcja/static/js/wiki/xslt.js index ff36666f..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.replace('&', '&').replace('<', '<'); + text_buffer = token.node.nodeValue.replace(/&/g, '&').replace(/