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

Escaping characters #285

Open
jugler opened this issue Jan 26, 2017 · 2 comments
Open

Escaping characters #285

jugler opened this issue Jan 26, 2017 · 2 comments

Comments

@jugler
Copy link

jugler commented Jan 26, 2017

Hi!, awesome project!

Been writing a bot for my team, and we are sending some links from hubot to hipchat, but it seems they are getting escaped and causing issues when opening them, for example I send this from hubot:
hello&me

And in Hipchat it receives:
hello&me

This makes broken links. Is there a way to achieve this?

@jugler
Copy link
Author

jugler commented Feb 10, 2017

ping?

@mihaiturcu
Copy link

I found a dumb workaround by using the replace functionality.

  msg.send "/code #{stdout}"
  msg.send "s/amp;//"

Basically send another msg and strip away the amp;
Feel free to send me a beer, i've been scavenging the freaking internetz for an answer and there ain't a better one.

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

2 participants