From: Alexander Ebert Date: Tue, 21 Feb 2017 18:10:23 +0000 (+0100) Subject: Fixed detection of content pasted from Microsoft Word X-Git-Tag: 2.1.13~4 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=18c72200dd7963718a1c3cf271e9a20b9002f2c4;p=GitHub%2FWoltLab%2FWCF.git Fixed detection of content pasted from Microsoft Word --- 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');