WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 2fab169

Browse files
committed
consistent quotes
1 parent b3a97ff commit 2fab169

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

web_src/js/features/comp/EditorMarkdown.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -195,12 +195,12 @@ function handleNewline(textarea: HTMLTextAreaElement, e: KeyboardEvent) {
195195
}
196196

197197
const pairs: Record<string, string> = {
198-
"'": `'`,
199-
'"': `"`,
200-
'(': `)`,
201-
'[': `]`,
202-
'{': `}`,
203-
'<': `>`,
198+
"'": "'",
199+
'"': '"',
200+
'(': ')',
201+
'[': ']',
202+
'{': '}',
203+
'<': '>',
204204
};
205205

206206
function handlePairCharacter(textarea: HTMLTextAreaElement, e: KeyboardEvent): void {

0 commit comments

Comments
 (0)