Browse Source

Merge commit '1947773ea9a99c6446801e10aaec63063e1409e3' into imprv/use-css-var

ayaka417 3 years ago
parent
commit
ecc6517784
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/remark-lsx/src/services/renderer/lsx.ts

+ 1 - 1
packages/remark-lsx/src/services/renderer/lsx.ts

@@ -104,7 +104,7 @@ export const rehypePlugin: Plugin<[LsxRehypePluginParams]> = (options = {}) => {
       }
 
       // resolve relative path
-      lsxElem.properties.prefix = pathResolver(prefix, basePagePath);
+      lsxElem.properties.prefix = decodeURI(pathResolver(prefix, basePagePath));
     });
   };
 };