From 6b0f855c770066db9b5b3fa11a9af64c4b8c60bd Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Sun, 22 Mar 2020 10:39:19 +0100 Subject: [PATCH] Support for . --- requirements/requirements.txt | 2 +- src/redakcja/static/js/wiki/xslt.js | 4 ++-- src/redakcja/static/xsl/wl2html_client.xsl | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/requirements/requirements.txt b/requirements/requirements.txt index c90865e9..00f7f0a5 100644 --- a/requirements/requirements.txt +++ b/requirements/requirements.txt @@ -8,7 +8,7 @@ oauth2 httplib2 # oauth2 dependency python-slugify -librarian==1.7.6 +librarian==1.8.1 ## Django Django==2.2.6 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) { diff --git a/src/redakcja/static/xsl/wl2html_client.xsl b/src/redakcja/static/xsl/wl2html_client.xsl index 784acb7e..f5a442bb 100644 --- a/src/redakcja/static/xsl/wl2html_client.xsl +++ b/src/redakcja/static/xsl/wl2html_client.xsl @@ -586,8 +586,8 @@ - -

+ +

@@ -602,7 +602,7 @@ - + -- 2.20.1