[Dicson] fix typo preventing sending XHTML. Fixes #5900
This commit is contained in:
parent
96de172951
commit
89d8147cc5
|
@ -723,7 +723,8 @@ class Message(Protocol):
|
|||
if xmllang:
|
||||
dom = NodeBuilder('<body xmlns="%s" xml:lang="%s">%s</body>' % (NS_XHTML, xmllang, val)).getDom()
|
||||
else:
|
||||
dom = NodeBuilder('<body xmlns="%s">%s</body>, 0' % (NS_XHTML, val)).getDom()
|
||||
dom = NodeBuilder('<body xmlns="%s">%s</body>' % (NS_XHTML,
|
||||
val), 0).getDom()
|
||||
if self.getTag('html'):
|
||||
self.getTag('html').addChild(node=dom)
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue