SMACK-868: Fix XHTMLText producing invalid XML

Esse commit está contido em:
Eng ChongMeng 2019-05-06 00:38:22 +02:00 commit de Paul Schaub
commit dd903bec95
Assinado por: vanitasvitae
ID da chave GPG: 62BEE9264BF17311
1 arquivos alterados com 1 adições e 1 exclusões

Ver arquivo

@ -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;