Skip to content

Commit

Permalink
fix: image urls
Browse files Browse the repository at this point in the history
  • Loading branch information
X committed May 4, 2024
1 parent b465640 commit 01b9d34
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/frontend/src/content.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ const markdownizer = (
return <p {...props}>{children}</p>;
},
img: ({ node, ...props }: any) => {
props.src = props.src.replace(/&amp;/g, "&");
let srcUrl;
let id: string = props.src;
let internal = false;
Expand Down

0 comments on commit 01b9d34

Please sign in to comment.