From: Library Admin Date: Wed, 9 Jan 2013 16:18:22 +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/f491d5388cd920a2500b1d5415c63fd8c08c29c3?hp=ca531bd353bd00ebe786c63df893f7f71167411b 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(/