summaryrefslogtreecommitdiffstats
path: root/addon/doxyparse/doxyparse.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2020-12-02 20:28:27 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2020-12-02 20:28:27 (GMT)
commiteeea9fb76fba464b7c18e40062001840071301a2 (patch)
treead41e514ad996f8a711c18944a6e5a1189e3ebc3 /addon/doxyparse/doxyparse.cpp
parent7c988b01965db0add630aa8def1c53720f2053b3 (diff)
parent2b0e8c46feb95812ac0596b4d1137350d359f1fa (diff)
downloadDoxygen-eeea9fb76fba464b7c18e40062001840071301a2.zip
Doxygen-eeea9fb76fba464b7c18e40062001840071301a2.tar.gz
Doxygen-eeea9fb76fba464b7c18e40062001840071301a2.tar.bz2
Merge branch 'master' of github.com:doxygen/doxygen
Diffstat (limited to 'addon/doxyparse/doxyparse.cpp')
-rw-r--r--addon/doxyparse/doxyparse.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/addon/doxyparse/doxyparse.cpp b/addon/doxyparse/doxyparse.cpp
index d4abd3a..4235bf3 100644
--- a/addon/doxyparse/doxyparse.cpp
+++ b/addon/doxyparse/doxyparse.cpp
@@ -144,7 +144,7 @@ static void printInherits() {
printf(" inherits:\n");
}
static void printInheritance(std::string base_class) {
- printf(" - %s\n", base_class.c_str());
+ printf(" - \"%s\"\n", base_class.c_str());
}
static void printDefines() {
printf(" defines:\n");
@@ -361,7 +361,7 @@ static void classInformation(const ClassDef* cd) {
if (!cd->baseClasses().empty()) {
printInherits();
for (const auto &bcd : cd->baseClasses()) {
- printInheritance(bcd.classDef->name().data());
+ printInheritance(sanitizeString(bcd.classDef->name().data()));
}
}
if(cd->isAbstract()) {