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 43aa7b2 commit 68e60ffCopy full SHA for 68e60ff
src/lib/enhancers/github/github-common.ts
@@ -44,7 +44,7 @@ function escapeHtml(text: string): string {
44
'"': """,
45
"'": "'",
46
}
47
- return text.replace(/[&<>"']/g, (m) => map[m])
+ return text.replace(/[&<>"']/g, (m) => map[m]!)
48
49
50
function githubHighlighter(code: string, language?: string) {
0 commit comments