Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant