We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf786c9 commit fcb4199Copy full SHA for fcb4199
src/utils.ts
@@ -3,7 +3,7 @@ import { StylesType, initRendererProps } from "./types";
3
import { RendererObject } from "marked";
4
import { styles } from "./styles";
5
6
-function escapeQuotes(value: string) {
+function escapeQuotes(value: unknown) {
7
if (typeof value === 'string' && value.includes('"')) {
8
return value.replace(/"/g, "'");
9
}
0 commit comments