mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-12-18 16:47:58 +01:00
Merge pull request #318 from vanitasvitae/xhtml_fix
SMACK-868: Fix XHTMLText producing invalid XML
This commit is contained in:
commit
7980e2cedb
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue