Smack XHTMLText.appendBrTag() appends incorrect tag format

http://fisheye.igniterealtime.org/browse/smack/trunk/source/org/jivesoftware/sma ckx/XHTMLText.java?r=7071#l133 shows that smack appends “
” where it should “
” as postulated by XEP-71.

ATM I have to

String xhtmlBody = message.generateXHTMLText().toString();

xhtmlBody = xhtmlBody.replace("
", “
”); //fix for smackx problem

XHTMLManager.addBody(msg, xhtmlBody);

String xhtmlBody = message.generateXHTMLText().toString();

xhtmlBody = xhtmlBody.replace("
", “
”); //fix for smackx problem

XHTMLManager.addBody(msg, xhtmlBody);

to workaround this Bug.

Flow

Logged as SMACK-329.

In the future, please add the tag bug_report to your post