Skip to content

Commit

Permalink
Miscounting in case of markdown links
Browse files Browse the repository at this point in the history
After review
  • Loading branch information
albert-github committed Nov 12, 2023
1 parent ac11ab1 commit dc66c25
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/markdown.cpp
Expand Up @@ -1148,8 +1148,6 @@ int Markdown::processLink(const char *data,int offset,int size)
// skip more whitespace
while (i<size && data[i]==' ') i++;
}
nlTotal += nl;
nl = 0;
if (whiteSpace && i<size && (data[i]=='(' || data[i]=='[')) return 0;

bool explicitTitle=FALSE;
Expand Down

0 comments on commit dc66c25

Please sign in to comment.