Fix URI component

This commit is contained in:
2025-04-18 20:11:10 +02:00
parent 138aa36c80
commit 00ab1ddd4c

View File

@@ -166,7 +166,7 @@ export default function ofm() {
const alias = rawAlias?.slice(1).trim();
// internal link
const url = fp + anchor;
const url = encodeURIComponent(fp) + anchor;
return {
type: "link",
url,