matrix-hacks / matrix-puppet-slack

puppet style slack bridge for matrix
47 stars 17 forks source link

Special characters in ``` blocks are replaced with HTML escape codes, and links within are received as markdown but not parsed #79

Open thomas-profitt opened 5 years ago

thomas-profitt commented 5 years ago

screenshot_2019-01-29 riot The corresponding Slack message appears as:

Example: -> example.com -> example.com
thomas-profitt commented 5 years ago

Slack may be sending us markdown in code blocks when there are links in code blocks (ugh), in which case we should strip it down to the literal text (in this case, "example.com") to match what's seen in Slack (Riot, for one, will recognize links in code blocks and display them as links, as in the screenshot above, so the functionality is still there)