SMACK-868: Fix XHTMLText producing invalid XML

This commit is contained in:
Eng ChongMeng 2019-05-06 00:38:22 +02:00 提交者 Paul Schaub
父節點 11775ed6b0
當前提交 dd903bec95
簽署人: vanitasvitae
GPG 金鑰 ID: 62BEE9264BF17311
共有 1 個檔案被更改,包括 1 行新增1 行删除

查看文件

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