SMACK-868: Fix XHTMLText producing invalid XML

This commit is contained in:
Eng ChongMeng 2019-05-06 00:38:22 +02:00 committed by 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;