Skip to content

Commit eb140ac

Browse files
committed
issue doxygen#11315 Issue with @copybrief, @ref, and Markdown links in Markdown table
Detecting `\ilinebr` and seeing it as end of command as well.
1 parent 83118ee commit eb140ac

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/markdown.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -551,6 +551,10 @@ 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_]=='\\')
555+
{
556+
if (qstrncmp(&data_[offset_+1],"ilinebr ",8)==0) break;
557+
}
554558
offset_++;
555559
}
556560
if (c=='(') // find the end of the function

0 commit comments

Comments
 (0)