summaryrefslogtreecommitdiffstats
path: root/src/markdown.cpp
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2018-04-26 12:22:35 (GMT)
committeralbert-github <albert.tests@gmail.com>2018-04-26 12:22:35 (GMT)
commit39118ed6cef251d1dbdca98801960eab49154128 (patch)
treebee8b287204d95950356e3ada99a322cd90b7a92 /src/markdown.cpp
parente75de3722b98115f27483aeacb3b2b1dbe7114a3 (diff)
downloadDoxygen-39118ed6cef251d1dbdca98801960eab49154128.zip
Doxygen-39118ed6cef251d1dbdca98801960eab49154128.tar.gz
Doxygen-39118ed6cef251d1dbdca98801960eab49154128.tar.bz2
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 .
Diffstat (limited to 'src/markdown.cpp')
-rw-r--r--src/markdown.cpp2
1 files changed, 1 insertions, 1 deletions
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}";
}