Fix exception in markdown renderer

This commit is contained in:
Rūdolfs Ošiņš
2025-02-23 13:53:45 +01:00
committed by Sebastian Martinez
parent db79d36dee
commit 82544a68bc
+5
View File
@@ -47,6 +47,11 @@
content;
void tick().then(() => {
// Don't run this if the component hasn't mounted yet.
if (container === null) {
return;
}
for (const e of container.querySelectorAll("a")) {
try {
const url = new URL(e.href);