summaryrefslogtreecommitdiffstats
path: root/src/markdown.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2014-01-26 14:58:36 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2014-01-26 14:58:36 (GMT)
commit8309fbd9e639eaf9e763e83ca7a228c659450a57 (patch)
tree2a48bdfda3262b30df8d618305606ba6f0984a4d /src/markdown.cpp
parent60ea06a68f2e355e34b61bf45babc6405bfbfe84 (diff)
downloadDoxygen-8309fbd9e639eaf9e763e83ca7a228c659450a57.zip
Doxygen-8309fbd9e639eaf9e763e83ca7a228c659450a57.tar.gz
Doxygen-8309fbd9e639eaf9e763e83ca7a228c659450a57.tar.bz2
Bug 722788 - Command \| not working when last character in markdown table 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 fe74610..f4a7846 100644
--- a/src/markdown.cpp
+++ b/src/markdown.cpp
@@ -1467,7 +1467,7 @@ int findTableColumns(const char *data,int size,int &start,int &end,int &columns)
eol=i+1;
i--;
while (i>0 && data[i]==' ') i--;
- if (i>0 && data[i]=='|') i--,n++; // trailing | does not count
+ if (i>0 && data[i-1]!='\\' && data[i]=='|') i--,n++; // trailing or escaped | does not count
end = i;
// count columns between start and end