X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/df9d185f88fa914f619261ea5564003bb93a6041..8813f55a1a25b69b77134b93142d94c5363e8ce7:/redakcja/static/js/wiki/xslt.js diff --git a/redakcja/static/js/wiki/xslt.js b/redakcja/static/js/wiki/xslt.js index 618dcd0e..cc71b289 100644 --- a/redakcja/static/js/wiki/xslt.js +++ b/redakcja/static/js/wiki/xslt.js @@ -366,7 +366,7 @@ 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) +'"'; + self.result += '="'+node.getAttribute('x-attr-value-'+this).replace(/&/g, '&').replace(/