S
Solara2mo ago
ntjess

Console error rendering markdown links in `solara.Markdown`

import solara
solara.Markdown("[a link](https://www.google.com)")
import solara
solara.Markdown("[a link](https://www.google.com)")
This code produces the following stack trace in the Chrome dev console:
Uncaught (in promise) TypeError: href.starswith is not a function
at VueComponent.setupRouter (eval at <anonymous> (VueTemplateRenderer.js:351:21), <anonymous>:35:33)
at eval (eval at <anonymous> (VueTemplateRenderer.js:351:21), <anonymous>:24:58)
at NodeList.forEach (<anonymous>)
at VueComponent.mounted (eval at <anonymous> (VueTemplateRenderer.js:351:21), <anonymous>:24:40)
Uncaught (in promise) TypeError: href.starswith is not a function
at VueComponent.setupRouter (eval at <anonymous> (VueTemplateRenderer.js:351:21), <anonymous>:35:33)
at eval (eval at <anonymous> (VueTemplateRenderer.js:351:21), <anonymous>:24:58)
at NodeList.forEach (<anonymous>)
at VueComponent.mounted (eval at <anonymous> (VueTemplateRenderer.js:351:21), <anonymous>:24:40)
Is there a way to avoid the error?
2 Replies
iisakkirotko
iisakkirotko2mo ago
Hi @ntjess! This is on our radar, see this commit. Next release should fix this!
ntjess
ntjessOP2mo ago
Thanks!
Want results from more Discord servers?
Add your server