Fix URI component

This commit is contained in:
peaceultime committed 2025-04-18 20:11:10 +02:00
1 parent 138aa36c80
commit 00ab1ddd4c
1 file changed
+1 -1
+1 -1
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,