summaryrefslogtreecommitdiffstats
path: root/src/markdown.cpp
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2019-07-10 13:04:49 (GMT)
committeralbert-github <albert.tests@gmail.com>2019-07-10 13:04:49 (GMT)
commit28b624bfec2adbed9fb43a2edd54b2fcaeb5d2aa (patch)
tree579a9a52776d7722e6548bf35e7c25ff1d7787c7 /src/markdown.cpp
parent34c9bac4624c5b94172af4a9d9168a44482fe552 (diff)
downloadDoxygen-28b624bfec2adbed9fb43a2edd54b2fcaeb5d2aa.zip
Doxygen-28b624bfec2adbed9fb43a2edd54b2fcaeb5d2aa.tar.gz
Doxygen-28b624bfec2adbed9fb43a2edd54b2fcaeb5d2aa.tar.bz2
issue #7113 Doxygen doesn't process markdown tables correctly
Better to have the end tag start at a new line so it cannot be added to a command that runs till the end of the line
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 8670642..8154b8f 100644
--- a/src/markdown.cpp
+++ b/src/markdown.cpp
@@ -1900,7 +1900,7 @@ static int writeTableBlock(GrowBuf &out,const char *data,int size)
}
// need at least one space on either side of the cell text in
// order for doxygen to do other formatting
- out.addStr("> " + cellText + " </" + cellTag + ">\n");
+ out.addStr("> " + cellText + "\n</" + cellTag + ">\n");
}
cellTag = "td";
cellClass = "class=\"markdownTableBody";