diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2020-12-22 18:44:34 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-22 18:44:34 (GMT) |
commit | d94ce329ca8501256f8c11bfea3009a1ae2079ef (patch) | |
tree | 0fd2c0fe36a68e48402de41811163332a0eb6f33 | |
parent | f7c14f5c5743a7133a53479cd1f621b16860160c (diff) | |
parent | 9c572e72b1070c5d8b58f7d4b6f72fdaede6e8ed (diff) | |
download | Doxygen-d94ce329ca8501256f8c11bfea3009a1ae2079ef.zip Doxygen-d94ce329ca8501256f8c11bfea3009a1ae2079ef.tar.gz Doxygen-d94ce329ca8501256f8c11bfea3009a1ae2079ef.tar.bz2 |
Merge pull request #8271 from albert-github/feature/bug_cnt_md_anchor
Miscounting of lines in case of inserting an anchor for a "H." tag
-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 0cf8b87..4a40a35 100644 --- a/src/markdown.cpp +++ b/src/markdown.cpp @@ -2073,7 +2073,7 @@ void Markdown::writeOneLineHeaderOrRuler(const char *data,int size) { if (!id.isEmpty()) { - m_out.addStr("\\anchor "+id+"\n"); + m_out.addStr("\\anchor "+id+"\\ilinebr "); } hTag.sprintf("h%d",level); m_out.addStr("<"+hTag+">"); |