diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2014-12-19 14:40:26 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2014-12-19 14:40:26 (GMT) |
commit | 553a7bf7e1b7be2f602e0230ddfc7f882b009cf8 (patch) | |
tree | a81c093353aff706ba06d25f2ffe0b5378c8d52b /src | |
parent | c7f7c954ec1356e7f361da0d655c72ca0012a0cf (diff) | |
download | Doxygen-553a7bf7e1b7be2f602e0230ddfc7f882b009cf8.zip Doxygen-553a7bf7e1b7be2f602e0230ddfc7f882b009cf8.tar.gz Doxygen-553a7bf7e1b7be2f602e0230ddfc7f882b009cf8.tar.bz2 |
Bug 738167 - Entity references in XML command attributes are incorrectly handled
Diffstat (limited to 'src')
-rw-r--r-- | src/docparser.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/docparser.cpp b/src/docparser.cpp index 4d77537..c356afd 100644 --- a/src/docparser.cpp +++ b/src/docparser.cpp @@ -232,7 +232,8 @@ static void docParserPopContext(bool keepParamInfo=FALSE) //--------------------------------------------------------------------------- -// replaces { with < and } with > inside string s +// replaces { with < and } with > and also +// replaces > with < and > with > within string s static void unescapeCRef(QCString &s) { char *p = s.data(); @@ -245,6 +246,9 @@ static void unescapeCRef(QCString &s) *p++=c; } } + + s=substitute(s,"<","<"); + s=substitute(s,">",">"); } //--------------------------------------------------------------------------- |