From: Library Admin Date: Wed, 2 Jan 2013 10:10:32 +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/2a6069ee7cd170f9d9f1787042e3077af0e2194a?hp=f4ef2a001a939444826ad0df962a814ba97e9185 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(/