From 39118ed6cef251d1dbdca98801960eab49154128 Mon Sep 17 00:00:00 2001 From: albert-github Date: Thu, 26 Apr 2018 14:22:35 +0200 Subject: Wrong determination of begin / end tag of formula in markdown. The begin tag for a formula during markdown checking was not determined correctly and thus the end tag was not set and the formula code was interpreted which should not be the case (especially in case of labels with '_' in it were miss interpreted . --- src/markdown.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/markdown.cpp b/src/markdown.cpp index de5805f..f7526dc 100644 --- a/src/markdown.cpp +++ b/src/markdown.cpp @@ -240,7 +240,7 @@ static QCString isBlockCommand(const char *data,int offset,int size) { return "f]"; } - else if (data[end]=='}') + else if (data[end]=='{') { return "f}"; } -- cgit v0.12