git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10780
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
else if (c == '<')
{
- wxHtmlTag tag(m_Source, i, end_pos, m_Cache);
+ wxHtmlTag tag(m_Source, i, end_pos, m_Cache, m_entitiesParser);
if (templen)
{
else if (state == ST_VALUE && quote == 0)
{
m_ParamNames.Add(pname);
- m_ParamValues.Add(entParser->Parse(pvalue));
+ if (entParser)
+ m_ParamValues.Add(entParser->Parse(pvalue));
+ else
+ m_ParamValues.Add(pvalue);
}
break;
}
// but wxHTML code relies on this... :(
pvalue.MakeUpper();
}
- m_ParamValues.Add(entParser->Parse(pvalue));
+ if (entParser)
+ m_ParamValues.Add(entParser->Parse(pvalue));
+ else
+ m_ParamValues.Add(pvalue);
state = ST_BEFORE_NAME;
}
else