From 79fb0def6f0afd178bfe080522150c242824fbbd Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Tue, 6 Jul 2021 14:26:44 +0200 Subject: [PATCH] Fixes #4204: use div instead of p in visual editor to prevent nesting issues. --- src/redakcja/static/js/wiki/xslt.js | 2 +- src/redakcja/static/xsl/wl2html_client.xsl | 38 +++++++++++----------- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/src/redakcja/static/js/wiki/xslt.js b/src/redakcja/static/js/wiki/xslt.js index 5111ae7d..8e80a9c2 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?210129', + url: STATIC_URL + 'xsl/wl2html_client.xsl?210706', dataType: 'xml', timeout: 10000, success: function(data) { diff --git a/src/redakcja/static/xsl/wl2html_client.xsl b/src/redakcja/static/xsl/wl2html_client.xsl index c4e68cea..b277c6a5 100644 --- a/src/redakcja/static/xsl/wl2html_client.xsl +++ b/src/redakcja/static/xsl/wl2html_client.xsl @@ -260,13 +260,13 @@ -

+

-

+
@@ -291,24 +291,24 @@ -

+

-

+
-

+

-

+
-

+

-

+
@@ -522,35 +522,35 @@ -

+

-

+
-

+

-

+
-

+

-

+
-

+

-

+
@@ -618,12 +618,12 @@ -

+

-

+
@@ -685,7 +685,7 @@ -

+
-- 2.20.1