Browse Source

SMACK-868: Fix XHTMLText producing invalid XML

xhtml_fix
Eng ChongMeng Paul Schaub <vanitasvitae@fsfe.org> 1 year ago
parent
commit
dd903bec95
No known key found for this signature in database GPG Key ID: 62BEE9264BF17311
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      smack-extensions/src/main/java/org/jivesoftware/smackx/xhtmlim/XHTMLText.java

+ 1
- 1
smack-extensions/src/main/java/org/jivesoftware/smackx/xhtmlim/XHTMLText.java View File

@@ -105,7 +105,7 @@ public class XHTMLText {
private XHTMLText appendOpenBodyTag(String style, String lang) {
text.halfOpenElement(Message.BODY);
text.xmlnsAttribute(NAMESPACE);
text.optElement(STYLE, style);
text.optAttribute(STYLE, style);
text.xmllangAttribute(lang);
text.rightAngleBracket();
return this;


Loading…
Cancel
Save