Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

XHTML - Tables do not work #485

Open
FourEyedPanda opened this issue Oct 14, 2016 · 0 comments
Open

XHTML - Tables do not work #485

FourEyedPanda opened this issue Oct 14, 2016 · 0 comments

Comments

@FourEyedPanda
Copy link

FourEyedPanda commented Oct 14, 2016

It doesn't seem like tables work or I might be doing something wrong.

SleekXMPP python code:

self.send_message(mto=msg['from'].bare,
                          mbody='testing',
                          mhtml='<table><tr><td>LANGUAGE</td><td>HOW FUN?</td></tr><tr><td>Java</td><td>4.5 out of 5</td></tr><tr><td>Lisp</td><td>1.2 out of 5</td></tr><tr><td>C++</td><td>3.8 out of 5</td></tr></table>',
                          mtype='groupchat')

Message ends up being:

<message to="[email protected]" type="groupchat" xml:lang="en"><body>testing</body><html xmlns="http://jabber.org/protocol/xhtml-im"><body xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"><table><tr><td>LANGUAGE</td><td>HOW FUN?</td></tr><tr><td>Java</td><td>4.5 out of 5</td></tr><tr><td>Lisp</td><td>1.2 out of 5</td></tr><tr><td>C++</td><td>3.8 out of 5</td></tr></table></body></html></message>

Everything after the table no longer shows until I restart OpenFire.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant