Skip to content

Commit

Permalink
Add SVG namespace for safari
Browse files Browse the repository at this point in the history
  • Loading branch information
IlyaOrson committed Dec 28, 2024
1 parent d8c7b0d commit 465ab73
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/routes/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- Hack to render equations from the markdown file
<!-- Workaround to render equations from the markdown file
https://github.com/pngwn/MDsveX/issues/302#issuecomment-1041293000 -->

<svelte:head>
Expand Down Expand Up @@ -199,6 +199,7 @@ https://github.com/pngwn/MDsveX/issues/302#issuecomment-1041293000 -->
tabindex="0"
>
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox={`0 0 ${WIDTH} ${HEIGHT}`}
preserveAspectRatio="xMidYMid meet"
role="img"
Expand Down

0 comments on commit 465ab73

Please sign in to comment.