Skip to content

Commit d1e0f0b

Browse files
committed
issue doxygen#11524 XML output is invalid for filenames with "<" or ">" (includedby tag)
1 parent eb5d5ce commit d1e0f0b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/xmlgen.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1801,7 +1801,7 @@ static void generateXMLForFile(FileDef *fd,TextStream &ti)
18011801
t << " refid=\"" << inc.fileDef->getOutputFileBase() << "\"";
18021802
}
18031803
t << " local=\"" << ((inc.kind & IncludeKind_LocalMask) ? "yes" : "no") << "\">";
1804-
t << inc.includeName;
1804+
t << convertToXML(inc.includeName);
18051805
t << "</includes>\n";
18061806
}
18071807

@@ -1813,7 +1813,7 @@ static void generateXMLForFile(FileDef *fd,TextStream &ti)
18131813
t << " refid=\"" << inc.fileDef->getOutputFileBase() << "\"";
18141814
}
18151815
t << " local=\"" << ((inc.kind &IncludeKind_LocalMask) ? "yes" : "no") << "\">";
1816-
t << inc.includeName;
1816+
t << convertToXML(inc.includeName);
18171817
t << "</includedby>\n";
18181818
}
18191819

0 commit comments

Comments
 (0)