mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-22 14:22:05 +01:00
SMACK-868: Fix XHTMLText producing invalid XML
This commit is contained in:
parent
11775ed6b0
commit
dd903bec95
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ public class XHTMLText {
|
||||||
private XHTMLText appendOpenBodyTag(String style, String lang) {
|
private XHTMLText appendOpenBodyTag(String style, String lang) {
|
||||||
text.halfOpenElement(Message.BODY);
|
text.halfOpenElement(Message.BODY);
|
||||||
text.xmlnsAttribute(NAMESPACE);
|
text.xmlnsAttribute(NAMESPACE);
|
||||||
text.optElement(STYLE, style);
|
text.optAttribute(STYLE, style);
|
||||||
text.xmllangAttribute(lang);
|
text.xmllangAttribute(lang);
|
||||||
text.rightAngleBracket();
|
text.rightAngleBracket();
|
||||||
return this;
|
return this;
|
||||||
|
|
Loading…
Reference in a new issue