chore: fix renderer (#917)

This commit is contained in:
boojack
2023-01-07 14:07:17 +08:00
committed by GitHub
parent 0f057e81e9
commit 771c56f485
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ const renderer = (rawStr: string) => {
const parsedContent = marked(matchResult[1], [], [Link, PlainText]);
return (
<strong>
<em>${parsedContent}</em>
<em>{parsedContent}</em>
</strong>
);
};

View File

@ -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>
);
};