Skip to content

Commit

Permalink
Wrong determination of begin / end tag of formula in markdown.
Browse files Browse the repository at this point in the history
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 .
  • Loading branch information
albert-github committed Apr 26, 2018
1 parent e75de37 commit 39118ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/markdown.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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}";
}
Expand Down

0 comments on commit 39118ed

Please sign in to comment.