summaryrefslogtreecommitdiffstats
path: root/src/markdown.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2014-08-19 10:21:10 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2014-08-19 10:21:10 (GMT)
commitebb2fe6d73b4aefc6dadab8eec45adc4ee0c9fd5 (patch)
treea9d0db335d7d3679da07cb40904934c21377134e /src/markdown.cpp
parent4766fdba2ab196844a0bd5ec5e0b64d94df4a74f (diff)
downloadDoxygen-ebb2fe6d73b4aefc6dadab8eec45adc4ee0c9fd5.zip
Doxygen-ebb2fe6d73b4aefc6dadab8eec45adc4ee0c9fd5.tar.gz
Doxygen-ebb2fe6d73b4aefc6dadab8eec45adc4ee0c9fd5.tar.bz2
Bug 735001 - No output for markdown pages with duplicate label title (different anchor)
Diffstat (limited to 'src/markdown.cpp')
-rw-r--r--src/markdown.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/markdown.cpp b/src/markdown.cpp
index 11b01ea..cc86af4 100644
--- a/src/markdown.cpp
+++ b/src/markdown.cpp
@@ -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)
@@ -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
@@ -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)
@@ -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