From 18c72200dd7963718a1c3cf271e9a20b9002f2c4 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Tue, 21 Feb 2017 19:10:23 +0100 Subject: [PATCH] Fixed detection of content pasted from Microsoft Word --- 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 000b74f1b6..fdd367dffe 100644 --- a/wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js +++ b/wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js @@ -1612,7 +1612,7 @@ RedactorPlugins.wbbcode = function() { html = html.replace(/<\/h[1-6]>/g, '[/size]'); // some fixes for paste from Microsoft Word / OpenOffice / LibreOffice - if (/

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