From 15790116da52f3ae1c637ae2b26fa2f7b0ca4553 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Wed, 28 Oct 2015 13:01:41 +0100 Subject: [PATCH] Improved sanitation for content pasted from OpenOffice --- wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js b/wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js index 37425b840e..abea9b2868 100644 --- a/wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js +++ b/wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js @@ -1571,7 +1571,7 @@ RedactorPlugins.wbbcode = function() { html = html.replace(/<\/h[1-6]>/g, '[/size]'); // some fixes for paste from Microsoft Word / OpenOffice - if (/

\s])\n([^<\s])/g, '$1 $2'); -- 2.20.1