diff options
author | Hayleigh Thompson <me@hayleigh.dev> | 2023-09-10 08:59:36 +0100 |
---|---|---|
committer | Hayleigh Thompson <me@hayleigh.dev> | 2023-09-10 08:59:36 +0100 |
commit | 65476f8f063fa62378fcfe41cdb7fab3f2e9285d (patch) | |
tree | d0ab7a7944d5fe3877d03ca2c1284f53533cb711 | |
parent | 3231cfbd7daeb084e0867fe1578d83b9d230a4b8 (diff) | |
download | lustre-65476f8f063fa62378fcfe41cdb7fab3f2e9285d.tar.gz lustre-65476f8f063fa62378fcfe41cdb7fab3f2e9285d.zip |
:bug: Fixed a bug with how markdown links were being generated.
-rw-r--r-- | docs/src/markdown.ffi.mjs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/src/markdown.ffi.mjs b/docs/src/markdown.ffi.mjs index 7267c82..168e3e5 100644 --- a/docs/src/markdown.ffi.mjs +++ b/docs/src/markdown.ffi.mjs @@ -124,7 +124,7 @@ export function parse_markdown(md) { case "link": return Markdown.link( node.url.startsWith("/") - ? import.meta.BASE_URL + node.url.slice(1) + ? import.meta.env.BASE_URL + node.url.slice(1) : node.url, fold_into_list(node.children, to_lustre_element) ); |