mirror of
https://github.com/kotaindah55/extended-markdown-syntax.git
synced 2026-07-22 05:38:06 +00:00
fix: avoid reassigning offset to non-zero value
Provide queue.resolveAll parameter with the intended value, instead of reassigning this.offset.
This commit is contained in:
parent
6c8ce72baf
commit
f7376eea86
1 changed files with 1 additions and 2 deletions
|
|
@ -103,8 +103,7 @@ export class ParserState {
|
|||
this.resolveContext();
|
||||
if (skipBlankLine) {
|
||||
if (this.isBlankLine()) {
|
||||
this.offset = this.line.length;
|
||||
this.queue.resolveAll();
|
||||
this.queue.resolveAll(this.line.to);
|
||||
while (this.linePos != this.maxLine) {
|
||||
this.line = this.doc.line(this.linePos + 1);
|
||||
if (!this.isBlankLine()) { break }
|
||||
|
|
|
|||
Loading…
Reference in a new issue