Commit 30216574 authored by Dimitri van Heesch's avatar Dimitri van Heesch

Bug 738173 - Entity references in XML code command are incorrectly handled

parent 5e962c90
......@@ -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'))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment