Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

chore: fix renderer (#917)

boojack771c56f48548
diff --git a/web/src/labs/marked/parser/BoldEmphasis.tsx b/web/src/labs/marked/parser/BoldEmphasis.tsx
index 66b6eea4d..a5ccfbedd 100644
--- a/web/src/labs/marked/parser/BoldEmphasis.tsx
+++ b/web/src/labs/marked/parser/BoldEmphasis.tsx
@@ -14,7 +14,7 @@ const renderer = (rawStr: string) => {
const parsedContent = marked(matchResult[1], [], [Link, PlainText]);
return (
<strong>
- <em>${parsedContent}</em>
+ <em>{parsedContent}</em>
</strong>
);
};
diff --git a/web/src/labs/marked/parser/UnorderedList.tsx b/web/src/labs/marked/parser/UnorderedList.tsx
index 595d6e1e1..bd7ff76c1 100644
--- a/web/src/labs/marked/parser/UnorderedList.tsx
+++ b/web/src/labs/marked/parser/UnorderedList.tsx
@@ -14,7 +14,7 @@ const renderer = (rawStr: string) => {
return (
<p className="li-container">
<span className="ul-block">•</span>
- <span>${parsedContent}</span>
+ <span>{parsedContent}</span>
</p>
);
};