summaryrefslogtreecommitdiffstats
path: root/src/markdown.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2019-12-21 12:51:02 (GMT)
committerGitHub <noreply@github.com>2019-12-21 12:51:02 (GMT)
commit3e683bcfbb68acea59460423c8205e434712905f (patch)
tree8548e099dcb1404981753d46c8ac511f4ddf6eca /src/markdown.cpp
parentfba818d629d2c706f4058d4d2e846b77040a98b5 (diff)
parentdef222ab7fa1ad9e51dff1b11b610c9e1e4af067 (diff)
downloadDoxygen-3e683bcfbb68acea59460423c8205e434712905f.zip
Doxygen-3e683bcfbb68acea59460423c8205e434712905f.tar.gz
Doxygen-3e683bcfbb68acea59460423c8205e434712905f.tar.bz2
Merge pull request #7231 from albert-github/feature/issue_7228
issue #7228 Using markdown causes wrong error and warning line numbers - v. 1.8.16
Diffstat (limited to 'src/markdown.cpp')
-rw-r--r--src/markdown.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/markdown.cpp b/src/markdown.cpp
index 42ea2ff..12fce3b 100644
--- a/src/markdown.cpp
+++ b/src/markdown.cpp
@@ -1828,7 +1828,7 @@ static int writeTableBlock(GrowBuf &out,const char *data,int size)
}
- out.addStr("<table class=\"markdownTable\">\n");
+ out.addStr("<table class=\"markdownTable\">");
QCString cellTag("th"), cellClass("class=\"markdownTableHead");
for (unsigned row = 0; row < tableContents.size(); row++)
{
@@ -1836,16 +1836,16 @@ static int writeTableBlock(GrowBuf &out,const char *data,int size)
{
if (row % 2)
{
- out.addStr("<tr class=\"markdownTableRowOdd\">\n");
+ out.addStr("<tr class=\"markdownTableRowOdd\">");
}
else
{
- out.addStr("<tr class=\"markdownTableRowEven\">\n");
+ out.addStr("<tr class=\"markdownTableRowEven\">");
}
}
else
{
- out.addStr(" <tr class=\"markdownTableHead\">\n");
+ out.addStr(" <tr class=\"markdownTableHead\">");
}
for (int c = 0; c < columns; c++)
{
@@ -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 + "\n</" + cellTag + ">\n");
+ out.addStr("> " + cellText + "</" + cellTag + ">");
}
cellTag = "td";
cellClass = "class=\"markdownTableBody";