powered by Jive Software

Minor issue in smackx

Hi,

In the file org/jivesoftware/smackx/XHTMLText.java, line 133 (in trunk as I post this) there’s a little method

public void appendBrTag() {
        text.append("<br>");
     }

That’s a bug – any code using this function creates invalid XML; a slash is missing

public void appendBrTag() {
        text.append("<br />");
     }

Thanks,

Shai.