Skip to content

Commit dc66c25

Browse files
committed
Miscounting in case of markdown links
After review
1 parent ac11ab1 commit dc66c25

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/markdown.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1148,8 +1148,6 @@ int Markdown::processLink(const char *data,int offset,int size)
11481148
// skip more whitespace
11491149
while (i<size && data[i]==' ') i++;
11501150
}
1151-
nlTotal += nl;
1152-
nl = 0;
11531151
if (whiteSpace && i<size && (data[i]=='(' || data[i]=='[')) return 0;
11541152

11551153
bool explicitTitle=FALSE;

0 commit comments

Comments
 (0)