From: Radek Czajka Date: Tue, 6 Jul 2021 12:26:44 +0000 (+0200) Subject: Fixes #4204: use div instead of p in visual editor to prevent nesting issues. X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/79fb0def6f0afd178bfe080522150c242824fbbd Fixes #4204: use div instead of p in visual editor to prevent nesting issues. --- 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 @@ -

+