You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like raw html is not supported currently. If I add set skipHtml={true} in the props of the ReactMarkdown component, the above README renders correctly. But this sounds dangerous because it might open up possibility of XSS attacks. Although I couldn't get it to render a <script> tag, so it does filter out some tags. @alaister do you know how safe will it be to set skipHtml={true}?
Activity
imor commentedon Jan 8, 2024
Looks like raw html is not supported currently. If I add set
skipHtml={true}in the props of theReactMarkdowncomponent, the above README renders correctly. But this sounds dangerous because it might open up possibility of XSS attacks. Although I couldn't get it to render a<script>tag, so it does filter out some tags. @alaister do you know how safe will it be to setskipHtml={true}?alaister commentedon Jan 9, 2024
Yes, I think
skipHtmlseems to be only for trusted environments: https://github.com/remarkjs/react-markdown?tab=readme-ov-file#appendix-a-html-in-markdownI'll investigate what the proper method is here.
feat: extensions explorer, CLI enhancements, bug fixes and @supabase/…