diff options
Diffstat (limited to 'src/markdown.cpp')
-rw-r--r-- | src/markdown.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/markdown.cpp b/src/markdown.cpp index 5253333..181b01a 100644 --- a/src/markdown.cpp +++ b/src/markdown.cpp @@ -2535,7 +2535,9 @@ QCString processMarkdown(const QCString &fileName,const int lineNr,Entry *e,cons out.clear(); int refIndent; // for replace tabs by spaces - QCString s = detab(input,refIndent); + QCString s = input; + if (s.find('\n',s.length()-1) == -1) s += "\n"; + s = detab(s,refIndent); //printf("======== DeTab =========\n---- output -----\n%s\n---------\n",s.data()); // then process quotation blocks (as these may contain other blocks) s = processQuotations(s,refIndent); |