summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/dot.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/dot.cpp b/src/dot.cpp
index 1570abc..5aca277 100644
--- a/src/dot.cpp
+++ b/src/dot.cpp
@@ -231,6 +231,8 @@ static EdgeProperties umlEdgeProps =
};
+static QCString convertLabel(const QCString &l);
+
static QCString getDotFontName()
{
static QCString dotFontName = Config_getString(DOT_FONTNAME);
@@ -259,7 +261,7 @@ static void writeGraphHeader(FTextStream &t,const QCString &title=QCString())
}
else
{
- t << "\"" << convertToXML(title) << "\"";
+ t << "\"" << convertLabel(title) << "\"";
}
t << endl << "{" << endl;
if (interactiveSVG) // insert a comment to force regeneration when this
@@ -4780,7 +4782,7 @@ void DotGroupCollaboration::writeGraphHeader(FTextStream &t,
}
else
{
- t << "\"" << convertToXML(title) << "\"";
+ t << "\"" << convertLabel(title) << "\"";
}
t << endl;
t << "{" << endl;