diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2014-12-23 15:26:44 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2014-12-23 15:26:44 (GMT) |
commit | 30216574cb189a92f27bb0e701ff31aa8cce6b83 (patch) | |
tree | 81d78ec6f675bc1190158c1f31c1f20f41e9d0b1 /src/docparser.cpp | |
parent | 5e962c90d3270612df7363e7cf6bf42646c94fbe (diff) | |
download | Doxygen-30216574cb189a92f27bb0e701ff31aa8cce6b83.zip Doxygen-30216574cb189a92f27bb0e701ff31aa8cce6b83.tar.gz Doxygen-30216574cb189a92f27bb0e701ff31aa8cce6b83.tar.bz2 |
Bug 738173 - Entity references in XML code command are incorrectly handled
Diffstat (limited to 'src/docparser.cpp')
-rw-r--r-- | src/docparser.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/docparser.cpp b/src/docparser.cpp index 24ce165..509001b 100644 --- a/src/docparser.cpp +++ b/src/docparser.cpp @@ -5163,6 +5163,10 @@ int DocPara::handleStartCode() { lang="."+lang; } + if (g_xmlComment) + { + g_token->verb = substitute(substitute(g_token->verb,"<","<"),">",">"); + } // search for the first non-whitespace line, index is stored in li int i=0,li=0,l=g_token->verb.length(); while (i<l && (g_token->verb.at(i)==' ' || g_token->verb.at(i)=='\n')) |