From 6e50cc526dcc3935ae85c08fc19b6410a071361d Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Tue, 16 Aug 2016 23:59:30 +0200 Subject: [PATCH] Fixed invalid markup after edit --- .../files/js/WoltLabSuite/Core/Ui/Message/InlineEditor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.20.1