diff options
author | albert-github <albert.tests@gmail.com> | 2018-05-20 13:38:26 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2018-05-20 13:38:26 (GMT) |
commit | ceedc1b7c0e9c2ea6e00d44fae2c0f8f477def69 (patch) | |
tree | 0619ceaecb01827d562c5c3dc160e937d1e4de62 /src/markdown.cpp | |
parent | df0d9c3df44dbce633c38e99d33be4de06706f7b (diff) | |
download | Doxygen-ceedc1b7c0e9c2ea6e00d44fae2c0f8f477def69.zip Doxygen-ceedc1b7c0e9c2ea6e00d44fae2c0f8f477def69.tar.gz Doxygen-ceedc1b7c0e9c2ea6e00d44fae2c0f8f477def69.tar.bz2 |
Bug 792122 - XHTML pages are broken several ways (Regression #674)
The markdown processing of [TOC] was not performed anymore, at the moment of processing there was no g_current.
Adding @tableofcontents to the stream (like with images) solves this problem.
Diffstat (limited to 'src/markdown.cpp')
-rw-r--r-- | src/markdown.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/markdown.cpp b/src/markdown.cpp index f7526dc..a6b6d89 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) { |