summaryrefslogtreecommitdiffstats
path: root/src/markdown.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2018-06-10 09:01:37 (GMT)
committerGitHub <noreply@github.com>2018-06-10 09:01:37 (GMT)
commit88ec05b63c6c93fe63dfd9e9df10d66ab720bd1f (patch)
treed437a1b861020a9c662b8fc2689ffd37e296b0dc /src/markdown.cpp
parentf8e784bc75a71910e3792452510f544909fe1d4a (diff)
parentceedc1b7c0e9c2ea6e00d44fae2c0f8f477def69 (diff)
downloadDoxygen-88ec05b63c6c93fe63dfd9e9df10d66ab720bd1f.zip
Doxygen-88ec05b63c6c93fe63dfd9e9df10d66ab720bd1f.tar.gz
Doxygen-88ec05b63c6c93fe63dfd9e9df10d66ab720bd1f.tar.bz2
Merge pull request #735 from albert-github/feature/bug_792122_2
Bug 792122 - XHTML pages are broken several ways (Regression #674)
Diffstat (limited to 'src/markdown.cpp')
-rw-r--r--src/markdown.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/markdown.cpp b/src/markdown.cpp
index f5c0dfd..0ca95a4 100644
--- a/src/markdown.cpp
+++ b/src/markdown.cpp
@@ -844,7 +844,7 @@ static int processLink(GrowBuf &out,const char *data,int,int size)
}
if (isToc) // special case for [TOC]
{
- if (g_current) g_current->stat=TRUE;
+ out.addStr("@tableofcontents");
}
else if (isImageLink)
{