Skip to content

Commit

Permalink
Bug 735001 - No output for markdown pages with duplicate label title …
Browse files Browse the repository at this point in the history
…(different anchor)
  • Loading branch information
Dimitri van Heesch committed Aug 19, 2014
1 parent 4766fdb commit ebb2fe6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/markdown.cpp
Expand Up @@ -1706,7 +1706,7 @@ void writeOneLineHeaderOrRuler(GrowBuf &out,const char *data,int size)
out.addStr(" ");
out.addStr(header);
out.addStr("\n");
SectionInfo *si = Doxygen::sectionDict->find(header);
SectionInfo *si = Doxygen::sectionDict->find(id);
if (si)
{
if (si->lineNr != -1)
Expand All @@ -1725,7 +1725,7 @@ void writeOneLineHeaderOrRuler(GrowBuf &out,const char *data,int size)
{
g_current->anchors->append(si);
}
Doxygen::sectionDict->append(header,si);
Doxygen::sectionDict->append(id,si);
}
}
else
Expand Down Expand Up @@ -2076,7 +2076,7 @@ static QCString processBlocks(const QCString &s,int indent)
out.addStr(" ");
out.addStr(header);
out.addStr("\n\n");
SectionInfo *si = Doxygen::sectionDict->find(header);
SectionInfo *si = Doxygen::sectionDict->find(id);
if (si)
{
if (si->lineNr != -1)
Expand All @@ -2096,7 +2096,7 @@ static QCString processBlocks(const QCString &s,int indent)
{
g_current->anchors->append(si);
}
Doxygen::sectionDict->append(header,si);
Doxygen::sectionDict->append(id,si);
}
}
else
Expand Down

0 comments on commit ebb2fe6

Please sign in to comment.