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

XEP-0071 Support #78

Open
errodr opened this issue Feb 20, 2015 · 5 comments
Open

XEP-0071 Support #78

errodr opened this issue Feb 20, 2015 · 5 comments
Labels

Comments

@errodr
Copy link

errodr commented Feb 20, 2015

Does hubot-xmpp support the passing of messages that conform to XEP-0071 (hrefs, etc)? Trying to send formatted messages but it does not seem to be working. I am seeing literal markup in Adium when sending the following:

<message>
   <body>Test</body>
   <html xmlns='http://jabber.org/protocol/xhtml-im'>
      <body xmlns='http://www.w3.org/1999/xhtml'>
         <p>Test <a href='http://www.domain.com'>link</a></p>
      </body>
   </html>
</message>
@markstory
Copy link
Contributor

How are you attempting to send the HTML content? There is an existing test for sending XHTML messages so I would expect it to work.

@errodr
Copy link
Author

errodr commented Feb 21, 2015

After a successful match I was just sending like so:

msg.send xhtmlContent

@markstory
Copy link
Contributor

Is xhtmlContent a string?

@markstory markstory added this to the 0.1.14 milestone Feb 22, 2015
@errodr
Copy link
Author

errodr commented Feb 22, 2015

Yes it is. Is that incorrect?

@markstory
Copy link
Contributor

No it should be string filled with HTML. I'll see if I can hit the same problems locally.

@markstory markstory self-assigned this Feb 23, 2015
@markstory markstory added the bug label Feb 23, 2015
@markstory markstory modified the milestone: 0.1.14 Jun 17, 2015
@markstory markstory removed their assignment Nov 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants