Unverified Commit e29924c8 authored by boojack's avatar boojack Committed by GitHub

fix: codeblock renderer (#924)

parent 1847756a
...@@ -38,7 +38,7 @@ const renderer = (rawStr: string) => { ...@@ -38,7 +38,7 @@ const renderer = (rawStr: string) => {
> >
copy copy
</button> </button>
<code className={`language-${language}`}>{highlightedCode}</code> <code className={`language-${language}`} dangerouslySetInnerHTML={{ __html: highlightedCode }}></code>
</pre> </pre>
); );
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment