Use *XHTMLDiv

This commit is contained in:
2024-10-17 19:44:27 +02:00
parent 6117876a59
commit 26e0c99150
3 changed files with 4 additions and 4 deletions

View File

@@ -20,7 +20,7 @@ func NewText(textType, content string) (Text, error) {
case "xhtml":
return &XHTMLText{
Type: textType,
XHTMLDiv: XHTMLDiv{
XHTMLDiv: &XHTMLDiv{
XMLNS: "http://www.w3.org/1999/xhtml",
Content: content,
},