From 06ab0e32d79e16e2fb839cc1a64b610c54e5b3e1 Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Tue, 15 Jul 2014 18:02:52 +0200 Subject: [PATCH] Fix XHTMLText.appendBrTag() It's an empty element and not a closing one. --- .../main/java/org/jivesoftware/smackx/xhtmlim/XHTMLText.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smack-extensions/src/main/java/org/jivesoftware/smackx/xhtmlim/XHTMLText.java b/smack-extensions/src/main/java/org/jivesoftware/smackx/xhtmlim/XHTMLText.java index a02345c36..6a65f6450 100644 --- a/smack-extensions/src/main/java/org/jivesoftware/smackx/xhtmlim/XHTMLText.java +++ b/smack-extensions/src/main/java/org/jivesoftware/smackx/xhtmlim/XHTMLText.java @@ -120,7 +120,7 @@ public class XHTMLText { * */ public XHTMLText appendBrTag() { - text.closeElement(BR); + text.emptyElement(BR); return this; }