From 6ff0ca5591c55f37370afa6d3ee66ddaca7ac19f Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Mon, 23 Mar 2015 00:49:22 +0100 Subject: [PATCH] Fixed markup for aligned text --- 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 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 -- 2.20.1