mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-08 21:20:45 +08:00
Don’t intercept navigation to external URLs in Markdown
Fixes 928 Signed-off-by: Thomas Scholtes <geigerzaehler@axiom.fm>
This commit is contained in:
@@ -45,8 +45,10 @@
|
||||
return;
|
||||
}
|
||||
|
||||
event.preventDefault();
|
||||
void router.navigateToUrl("push", url);
|
||||
if (url.origin === window.origin) {
|
||||
event.preventDefault();
|
||||
void router.navigateToUrl("push", url);
|
||||
}
|
||||
}
|
||||
|
||||
function render(content: string): string {
|
||||
|
||||
Reference in New Issue
Block a user