-
Notifications
You must be signed in to change notification settings - Fork 11
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
MM-56469 - change out library for converting html to markdown. #517
Conversation
@esarafianou - Not sure if security wants to review now or with the plugin as a whole later.... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wow, nice work @sbishel :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
cc. @jupenur let me know if you'd like to have an extra look at the new library.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @sbishel
QA-deferring to test as bug bash post merge
Summary
Changes out the library used for converting HTML to Markdown. Also implements unit test for all the potential conversions we support...if any were missed, let's add them.
http://github.com/JohannesKaufmann/html-to-markdown
The prior library did not handle tables without a
THEAD
very well, tables create in MS Teams do not have this row. This library creates GibHub Flavored Markdown and is extensible via Plugins.Ticket Link
Fixes https://mattermost.atlassian.net/browse/MM-56469