From 7ba3c3d43fd1336ac62d804837fd92c5dc11b4d5 Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Mon, 10 Feb 2014 13:51:12 +0100 Subject: [PATCH] Add namespace attribute to XHTML-IM body tags Fixes SMACK-531 --- source/org/jivesoftware/smackx/XHTMLText.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/org/jivesoftware/smackx/XHTMLText.java b/source/org/jivesoftware/smackx/XHTMLText.java index 4491fe4ac..754edbdd8 100644 --- a/source/org/jivesoftware/smackx/XHTMLText.java +++ b/source/org/jivesoftware/smackx/XHTMLText.java @@ -27,6 +27,8 @@ import org.jivesoftware.smack.util.StringUtils; */ public class XHTMLText { + private static final String NAMESPACE = "http://www.w3.org/1999/xhtml"; + private StringBuilder text = new StringBuilder(30); /** @@ -100,7 +102,7 @@ public class XHTMLText { * @param lang the language of the body */ private void appendOpenBodyTag(String style, String lang) { - StringBuilder sb = new StringBuilder("