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

remove HTML tags with sanitize #88

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ozon
Copy link

@ozon ozon commented May 21, 2016

This will fix #32

  • add sanitize gem
  • cleanup msg with sanitize

@sciyoshi
Copy link
Owner

sciyoshi commented Jul 3, 2016

@ozon thanks for the patch! The code above that line is meant to be escaping HTML characters already - if we expect the input to be HTML-formatted, I think the plugin needs to do something other than simply sanitizing. I believe Slack's API doesn't allow HTML and expects Markdown-style formatting (see https://api.slack.com/docs/message-formatting#message_formatting)

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

Successfully merging this pull request may close these issues.

Convert HTML tags in issues from rich text editor to Slack markdown
2 participants