Permalink
Browse files

Bug 738173 - Entity references in XML code command are incorrectly ha…

…ndled
  • Loading branch information...
Dimitri van Heesch
Dimitri van Heesch committed Dec 23, 2014
1 parent 5e962c9 commit 30216574cb189a92f27bb0e701ff31aa8cce6b83
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/docparser.cpp
@@ -5163,6 +5163,10 @@ int DocPara::handleStartCode()
{
lang="."+lang;
}
if (g_xmlComment)
{
g_token->verb = substitute(substitute(g_token->verb,"&lt;","<"),"&gt;",">");
}
// 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'))

0 comments on commit 3021657

Please sign in to comment.