Feb 7, 2011 8:43 AM
smack XHTMLText.appendBrTag() appends incorrect tag format
-
Like (0)
http://fisheye.igniterealtime.org/browse/smack/trunk/source/org/jivesoftware/sma ckx/XHTMLText.java?r=7071#l133 shows that smack appends "<br>" where it should "<br/>" as postulated by XEP-71.
ATM I have to
String xhtmlBody = message.generateXHTMLText().toString();
xhtmlBody = xhtmlBody.replace("<br>", "<br/>"); //fix for smackx problem
XHTMLManager.addBody(msg, xhtmlBody);
to workaround this Bug.
Flow