Skip to content

Commit 058ae9f

Browse files
authored
Merge pull request doxygen#11346 from albert-github/feature/issue_11246
issue doxygen#11246 Markdown links to headings are not handled by doxygen like by GitHub or azure
2 parents c967631 + b52bf2d commit 058ae9f

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
@@ -2016,7 +2016,7 @@ QCString Markdown::Private::extractTitleId(QCString &title, int level, bool *pIs
20162016
AUTO_TRACE_EXIT("id={}",id);
20172017
return id;
20182018
}
2019-
if ((level>0) && (level<=Config_getInt(TOC_INCLUDE_HEADINGS)))
2019+
if (((level>0) && (level<=Config_getInt(TOC_INCLUDE_HEADINGS))) || (Config_getEnum(MARKDOWN_ID_STYLE)==MARKDOWN_ID_STYLE_t::GITHUB))
20202020
{
20212021
QCString id = AnchorGenerator::instance().generate(ti);
20222022
if (pIsIdGenerated) *pIsIdGenerated=true;

0 commit comments

Comments
 (0)