Skip to content

Commit 07e9577

Browse files
committed
fix lint
1 parent 6a288b7 commit 07e9577

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web_src/js/features/comp/EditorMarkdown.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ export function markdownHandleIndention(tvs: TextareaValueSelection): MarkdownHa
135135

136136
// parse the indention
137137
let lineContent = line;
138-
const indention = (/^\s*/.exec(lineContent) || [""])[0];
138+
const indention = (/^\s*/.exec(lineContent) || [''])[0];
139139
lineContent = lineContent.slice(indention.length);
140140
if (linesBuf.inlinePos <= indention.length) return unhandled; // if cursor is at the indention, do nothing, let the browser handle it
141141

0 commit comments

Comments
 (0)