From: Alexander Ebert Date: Sun, 22 Mar 2015 23:49:22 +0000 (+0100) Subject: Fixed markup for aligned text X-Git-Tag: 2.1.2~11 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6ff0ca5591c55f37370afa6d3ee66ddaca7ac19f;p=GitHub%2FWoltLab%2FWCF.git Fixed markup for aligned text --- diff --git a/wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js b/wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js index 5b95f046e5..af343425d9 100644 --- a/wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js +++ b/wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js @@ -933,7 +933,7 @@ RedactorPlugins.wbbcode = function() { // [align] data = data.replace(/\[align=(left|right|center|justify)\]([\s\S]*?)\[\/align\]\n?/gi, (function(match, alignment, content) { - return this.wbbcode._expandFormatting(content, '
', '
'); + return this.wbbcode._expandFormatting(content, '

', '

'); }).bind(this)); // search for [*] not preceeded by [list by searching for the first occurence of [list and then check the left