Fix correcting styled reply

Stephen Paul Weber created

Change summary

src/main/java/eu/siacs/conversations/entities/Message.java | 2 ++
1 file changed, 2 insertions(+)

Detailed changes

src/main/java/eu/siacs/conversations/entities/Message.java 🔗

@@ -424,6 +424,8 @@ public class Message extends AbstractEntity implements AvatarService.Avatarable
         clearReplyReact();
 
         if (body == null) body = new SpannableStringBuilder(getBody(true));
+        final Element html = getOrMakeHtml();
+        html.clearChildren();
         setBody(QuoteHelper.quote(MessageUtils.prepareQuote(replyTo)) + "\n");
 
         final String replyId = replyTo.replyId();