SMACK-868: Fix XHTMLText producing invalid XML

This commit is contained in:
Eng ChongMeng 2019-05-06 00:38:22 +02:00 zatwierdzone przez Paul Schaub
rodzic 11775ed6b0
commit dd903bec95
Podpisane przez: vanitasvitae
ID klucza GPG: 62BEE9264BF17311
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

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