From: Library Admin Date: Wed, 9 Jan 2013 09:46:55 +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/a85740df875a17b21d94b777b4152e77dbae6e28?hp=daacf83adcf2305add277eae0081f59c4c1a7863 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(/