X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/ad2f309daa381e9a7a2b7a8a17ef494b60f838b2..6b0f855c770066db9b5b3fa11a9af64c4b8c60bd:/src/redakcja/static/js/wiki/xslt.js diff --git a/src/redakcja/static/js/wiki/xslt.js b/src/redakcja/static/js/wiki/xslt.js index 43db29bc..1c693521 100644 --- a/src/redakcja/static/js/wiki/xslt.js +++ b/src/redakcja/static/js/wiki/xslt.js @@ -17,7 +17,7 @@ function withStylesheets(code_block, onError) if (!xml2htmlStylesheet) { $.blockUI({message: 'Ładowanie arkuszy stylów...'}); $.ajax({ - url: STATIC_URL + 'xsl/wl2html_client.xsl?20171106', + url: STATIC_URL + 'xsl/wl2html_client.xsl?2019121801', dataType: 'xml', timeout: 10000, success: function(data) { @@ -157,7 +157,7 @@ HTMLSerializer.prototype._verseBefore = function(node) { } HTMLSerializer.prototype._nodeIgnored = function(node) { - return node.getAttribute('x-node') == 'wers'; + return node.getAttribute('x-auto-node') == 'true'; } HTMLSerializer.prototype._ignoredWithWhitespace = function(node) {