summaryrefslogtreecommitdiffstats
path: root/src/markdown.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2014-01-08 15:01:13 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2014-01-08 15:01:13 (GMT)
commitb4b40f4c7ea57655d1264e8f72c754526e3a9209 (patch)
tree91d568ff3ea9d8e0a0f056fdf613e79e3eefd22e /src/markdown.cpp
parent68080883535bb146e2e4f65943c8b836da6b68e0 (diff)
downloadDoxygen-b4b40f4c7ea57655d1264e8f72c754526e3a9209.zip
Doxygen-b4b40f4c7ea57655d1264e8f72c754526e3a9209.tar.gz
Doxygen-b4b40f4c7ea57655d1264e8f72c754526e3a9209.tar.bz2
Bug 683115 - Command ignored when using umlauts in markdown and also C-comments in markdown didn't work properly
Diffstat (limited to 'src/markdown.cpp')
-rw-r--r--src/markdown.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/markdown.cpp b/src/markdown.cpp
index ac824f4..85d3c83 100644
--- a/src/markdown.cpp
+++ b/src/markdown.cpp
@@ -2279,14 +2279,7 @@ void MarkdownFileParser::parseInput(const char *fileName,
current->fileName = fileName;
current->docFile = fileName;
current->docLine = 1;
- int len = qstrlen(fileBuf);
- BufStr input(len);
- BufStr output(len);
- input.addArray(fileBuf,qstrlen(fileBuf));
- input.addChar('\0');
- convertCppComments(&input,&output,fileName);
- output.addChar('\0');
- QCString docs = output.data();
+ QCString docs = fileBuf;
QCString id;
QCString title=extractPageTitle(docs,id).stripWhiteSpace();
QCString titleFn = QFileInfo(fileName).baseName().utf8();