[Dicson] fix typo preventing sending XHTML. Fixes #5900

This commit is contained in:
Yann Leboulanger 2010-09-11 15:32:44 +02:00
parent 96de172951
commit 89d8147cc5
1 changed files with 2 additions and 1 deletions

View File

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