Mattermost-server: Inline SVG images in Markdown are not displayed

Created on 26 Nov 2019  路  6Comments  路  Source: mattermost/mattermost-server

Originally reported on GitHub: https://github.com/mattermost/mattermost-mobile/issues/1481

SVG鈥檚 have a special setting, EnableSVGs, in the server configuration that tells the client if the SVG should be rendered or not.

react-native-svg added support to load SVG's from a uri and the dependency needs to be updated as well in the project.

Difficulty: Medium

Repro steps:
1) Post the following:

<![Mattermost](https://about.mattermost.com/wp-content/uploads/2017/08/Mattermost-Logo-Blue.svg)>(https://github.com/mattermost/mattermost-server)

Observed: The post is blank
Expected: The post shows the Mattermost logo as on the web app


If you're interested please comment here and come join our "Contributors" community channel on our daily build server, where you can discuss questions with community members and the Mattermost core team. For technical advice or questions, please join our "Developers" community channel.

New contributors please see our Developer's Guide.

JIRA: https://mattermost.atlassian.net/browse/MM-9746

AreEnd User Feature Medium Help Wanted PR Exists TecReact Native

Most helpful comment

All 6 comments

I can grab this one

Thanks @fm2munsh :+1:

Removing myself from this issue as I can not work on this in the near future

Thanks for the heads up @fm2munsh

Looking into this

Was this page helpful?
0 / 5 - 0 ratings