Skip to content

Commit 24df838

Browse files
[getsentry/action-github-commit] Auto commit
1 parent 19f3c11 commit 24df838

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/mermaid.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ import {useEffect} from 'react';
44
export default function Mermaid() {
55
useEffect(() => {
66
(async function () {
7-
const escapeHTML = (str) => {
7+
const escapeHTML = str => {
88
return str.replace(/[&<>"']/g, function (match) {
99
const escapeMap = {
1010
'&': '&amp;',
1111
'<': '&lt;',
1212
'>': '&gt;',
1313
'"': '&quot;',
14-
"'": '&#39;'
14+
"'": '&#39;',
1515
};
1616
return escapeMap[match];
1717
});

0 commit comments

Comments
 (0)