Skip to content

Commit e6c0645

Browse files
committed
Incorrect handling of \exception command in markdown
When having a construction like: ``` \exception docu backtick plain `std::runtime_error` ``` this is properly rendered in doxygen 1.9.1, though with doxygen 1.9.6 and the current doxygen version (1.17.0) we see that the backticks are still present (and the content is not proerly rendered. With doxygen 1.9.6 we weven get a warning like: ``` warning: explicit link request to 'runtime_error' could not be resolved ``` The handling of the `\exception` command was incorrect (now analogous to the `\throw` command.
1 parent 79d657a commit e6c0645

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/markdown.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -642,7 +642,7 @@ size_t Markdown::Private::isSpecialCommand(std::string_view data,size_t offset)
642642
{ "emoji", endOfLabel },
643643
{ "enum", endOfLabel },
644644
{ "example", endOfLine },
645-
{ "exception", endOfLine },
645+
{ "exception", endOfLabel },
646646
{ "extends", endOfLabel },
647647
{ "file", endOfLine },
648648
{ "fn", endOfFunc },

0 commit comments

Comments
 (0)