mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-24 10:27:10 +02:00
Desktop: Enforce that whitespace check for unindent checks the begining of a (#3515)
This commit is contained in:
parent
1d79dedf6d
commit
0fa8dfa063
@ -52,7 +52,7 @@ export default function useListIdent(CodeMirror: any) {
|
||||
let start = listTokens[0].start;
|
||||
const token = extractListToken(line);
|
||||
|
||||
if (listTokens.length > 1 && listTokens[0].string.match(/\s/)) {
|
||||
if (listTokens.length > 1 && listTokens[0].string.match(/^\s/)) {
|
||||
start = listTokens[1].start;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user