Skip to content

Commit 0ae7864

Browse files
committed
issue doxygen#11315 Issue with @copybrief, @ref, and Markdown links in Markdown table
After review
1 parent ef4c96b commit 0ae7864

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/markdown.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,7 @@ size_t Markdown::Private::isSpecialCommand(std::string_view data,size_t offset)
551551
// skip over name (and optionally type)
552552
while (offset_<data_.size() && (c=data_[offset_])!='\n' && (allowSpaces || c!=' ') && c!='(')
553553
{
554-
if (offset_<data_.size()-9 && data_[offset_]=='\\')
554+
if (offset_+9<data_.size() && data_[offset_]=='\\')
555555
{
556556
if (qstrncmp(&data_[offset_+1],"ilinebr ",8)==0) break;
557557
}

0 commit comments

Comments
 (0)