Skip to content

Commit

Permalink
issue #6892 xml not well-formed (invalid token) for c++
Browse files Browse the repository at this point in the history
the `declname` and `defname` should  also be converted (compare as well the routine `generateXMLForMember`)
  • Loading branch information
albert-github committed Mar 19, 2019
1 parent 3670a15 commit f217b5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/xmlgen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -360,8 +360,8 @@ static void writeTemplateArgumentList(ArgumentList *al,
}
if (!a->name.isEmpty())
{
t << indentStr << " <declname>" << a->name << "</declname>" << endl;
t << indentStr << " <defname>" << a->name << "</defname>" << endl;
t << indentStr << " <declname>" << convertToXML(a->name) << "</declname>" << endl;
t << indentStr << " <defname>" << convertToXML(a->name) << "</defname>" << endl;
}
if (!a->defval.isEmpty())
{
Expand Down

0 comments on commit f217b5c

Please sign in to comment.