From: Alexander Ebert Date: Tue, 16 Aug 2016 21:59:30 +0000 (+0200) Subject: Fixed invalid markup after edit X-Git-Tag: 3.0.0_Beta_1~718 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6e50cc526dcc3935ae85c08fc19b6410a071361d;p=GitHub%2FWoltLab%2FWCF.git Fixed invalid markup after edit --- diff --git a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Message/InlineEditor.js b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Message/InlineEditor.js index 29761b38e7..45c9e377bf 100644 --- a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Message/InlineEditor.js +++ b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Message/InlineEditor.js @@ -514,7 +514,7 @@ define( // set new content //noinspection JSUnresolvedVariable - DomUtil.setInnerHtml(elementData.messageBody, data.returnValues.message); + DomUtil.setInnerHtml(DomTraverse.childByClass(elementData.messageBody, 'messageText'), data.returnValues.message); // handle attachment list //noinspection JSUnresolvedVariable