From: Alexander Ebert Date: Tue, 27 Jan 2015 00:07:39 +0000 (+0100) Subject: Improved readability in BBCode mode for lists X-Git-Tag: 2.1.0_Beta_4~46 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=24850b5e3868720ffbfa9357cd5e26c83da372b7;p=GitHub%2FWoltLab%2FWCF.git Improved readability in BBCode mode for lists --- diff --git a/wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js b/wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js index 026592f074..617e20e115 100644 --- a/wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js +++ b/wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js @@ -573,7 +573,7 @@ RedactorPlugins.wbbcode = function() { // [*] html = html.replace(/
  • /gi, '[*]'); - html = html.replace(/<\/li>/gi, ''); + html = html.replace(/<\/li>/gi, '\n'); // [list] html = html.replace(/