noties / Markwon

Android markdown library (no WebView)
https://noties.io/Markwon/
Apache License 2.0
2.68k stars 298 forks source link

Cant load svg #437

Closed kosiarska closed 1 year ago

kosiarska commented 1 year ago

Markwon version: latest Library is not showing svg included in markdown. Example from content: <svg xmlns="http://www.w3.org/2000/svg" aria-label="Facebook" role="img" viewBox="0 0 512 512" width="32"><rect width="512" height="512" rx="15%"fill="#1877f2"/><path d="M355.6 330l11.4-74h-71v-48c0-20.2 9.9-40 41.7-40H370v-63s-29.3-5-57.3-5c-58.5 0-96.7 35.4-96.7 99.6V256h-65v74h65v182h80V330h59.6z" fill="#fff"/></svg> [**Facebook Cafe Nauka**](https://www.facebook.com/cafenauka)

Adding svg media decoder doesn't help.

kosiarska commented 1 year ago

Your comment from last issue did not help. Please provide minimal working example of loading svg image from html. Also please don't close issue immediately after responding. @noties

noties commented 1 year ago

Hello @kosiarska ,

please do no open duplicate issues.