diff options
author | Adrian Negreanu <groleo@gmail.com> | 2015-04-17 07:42:09 (GMT) |
---|---|---|
committer | Adrian Negreanu <groleo@gmail.com> | 2015-04-17 07:42:09 (GMT) |
commit | 4fef5e6a61658c7eb0ce9c20517571e21227bc60 (patch) | |
tree | 8e3deb15e69456a77b64a6af15f726968889295f /src/definition.cpp | |
parent | 85249aa2546d66354fbfab56459a22b97223e813 (diff) | |
parent | c4e631c991c8d7a6380270b193f5628ed00968c1 (diff) | |
download | Doxygen-4fef5e6a61658c7eb0ce9c20517571e21227bc60.zip Doxygen-4fef5e6a61658c7eb0ce9c20517571e21227bc60.tar.gz Doxygen-4fef5e6a61658c7eb0ce9c20517571e21227bc60.tar.bz2 |
Merge https://github.com/doxygen/doxygen
Diffstat (limited to 'src/definition.cpp')
-rw-r--r-- | src/definition.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/definition.cpp b/src/definition.cpp index 1381ea5..457c6ea 100644 --- a/src/definition.cpp +++ b/src/definition.cpp @@ -741,7 +741,7 @@ bool readCodeFragment(const char *fileName, else // use filter { QCString cmd=filter+" \""+fileName+"\""; - Debug::print(Debug::ExtCmd,0,"Executing popen(`%s`)\n",cmd.data()); + Debug::print(Debug::ExtCmd,0,"Executing popen(`%s`)\n",qPrint(cmd)); f = portable_popen(cmd,"r"); } bool found = lang==SrcLangExt_VHDL || @@ -868,7 +868,7 @@ bool readCodeFragment(const char *fileName, { portable_pclose(f); Debug::print(Debug::FilterOutput, 0, "Filter output\n"); - Debug::print(Debug::FilterOutput,0,"-------------\n%s\n-------------\n",result.data()); + Debug::print(Debug::FilterOutput,0,"-------------\n%s\n-------------\n",qPrint(result)); } else { @@ -1667,7 +1667,8 @@ void Definition::writeToc(OutputList &ol) } cs[0]='0'+nextLevel; if (inLi[nextLevel]) ol.writeString("</li>\n"); - ol.writeString("<li class=\"level"+QCString(cs)+"\"><a href=\"#"+si->label+"\">"+(si->title.isEmpty()?si->label:si->title)+"</a>"); + QCString titleDoc = convertToHtml(si->title); + ol.writeString("<li class=\"level"+QCString(cs)+"\"><a href=\"#"+si->label+"\">"+(si->title.isEmpty()?si->label:titleDoc)+"</a>"); inLi[nextLevel]=TRUE; level = nextLevel; } |