File tree 1 file changed +2
-2
lines changed 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -33,15 +33,15 @@ export const newlines = new ExternalTokenizer((input, stack) => {
33
33
if ( input . next == newline || input . next == carriageReturn || input . next == hash )
34
34
input . acceptToken ( blankLineStart , - spaces )
35
35
} else if ( isLineBreak ( input . next ) ) {
36
- input . acceptToken ( stack . context . depth < 0 ? newlineBracketed : newlineToken , 1 )
36
+ input . acceptToken ( newlineToken , 1 )
37
37
}
38
38
} , { contextual : true } )
39
39
40
40
export const indentation = new ExternalTokenizer ( ( input , stack ) => {
41
41
let cDepth = stack . context . depth
42
42
if ( cDepth < 0 ) return
43
43
let prev = input . peek ( - 1 ) , depth
44
- if ( ( prev == newline || prev == carriageReturn ) && stack . context . depth >= 0 ) {
44
+ if ( prev == newline || prev == carriageReturn ) {
45
45
let depth = 0 , chars = 0
46
46
for ( ; ; ) {
47
47
if ( input . next == space ) depth ++
You can’t perform that action at this time.
0 commit comments