purple-mattermost
purple-mattermost copied to clipboard
code displayed incorrectly: includes html tags
When a post includes code marked in the input with three backticks, it is displayed as a verbatim dump including the < br/ > and > etc., tags that mattermost puts in. Example:
` ` `
uint64_t x;
return (uint16_t) x>>48;
` ` `
displays as:
<br>uint64_t x;<br>return (uint16_t) x >> 48;<br>
Looks like this is only for markdown generated by the plugin; people using a real mattermost client or the web interface can create code snippets that display correctly.
More info: Sending the code sends it verbatim to the server; but it is displayed incorrectly in the local puidgin instance only; other clients see the result correctly.
What's more if I 'edit' a post in the webbrowser interface, the result is displayed correctly in Pidgin.