From f1f6072391a593e24c6f0c96e70e4bba2abdfb68 Mon Sep 17 00:00:00 2001 From: Dimitri van Heesch Date: Fri, 9 Apr 2021 19:08:23 +0200 Subject: Fixed potential crash when using . after a markdown style linked image. --- src/doctokenizer.l | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/doctokenizer.l b/src/doctokenizer.l index c380cd2..70f2bd1 100644 --- a/src/doctokenizer.l +++ b/src/doctokenizer.l @@ -117,11 +117,11 @@ bool doctokenizerYYpopContext() QCString extractPartAfterNewLine(const QCString &text) { int nl1 = text.find('\n'); - if (nl1!=-1) + int nl2 = text.find("\\ilinebr"); + if (nl1!=-1 && nl1