From: Library Admin Date: Wed, 9 Jan 2013 16:24:40 +0000 (+0100) Subject: Merge branch 'edumed' of https://github.com/fnp/redakcja into edumed X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/b31136a9f521897ad2552126adfd4d5e2288bb15?hp=cf8a573be6af7f94e71d336f3faca2a282614693 Merge branch 'edumed' of https://github.com/fnp/redakcja into edumed --- diff --git a/redakcja/static/js/wiki/xslt.js b/redakcja/static/js/wiki/xslt.js index 618dcd0e..a97322a5 100644 --- a/redakcja/static/js/wiki/xslt.js +++ b/redakcja/static/js/wiki/xslt.js @@ -366,7 +366,9 @@ HTMLSerializer.prototype._serializeElement = function(node) { }; self.result += ' ' + self._join(nsData.prefix, node.getAttribute('x-attr-name-'+this)); - self.result += '="'+node.getAttribute('x-attr-value-'+this) +'"'; + var value = node.getAttribute('x-attr-value-'+this); + value = value.replace(/&/g, '&').replace(/