fixed HTML entities parsing inside <titl
e> tag git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -295,9 +295,11 @@ TAG_HANDLER_BEGIN(TITLE, "TITLE")
|
||||
wxHtmlWindow *wfr = (wxHtmlWindow*)(m_WParser->GetWindow());
|
||||
if (wfr)
|
||||
{
|
||||
const wxString& src = *m_WParser->GetSource();
|
||||
wfr->OnSetTitle(src.Mid(tag.GetBeginPos(),
|
||||
tag.GetEndPos1()-tag.GetBeginPos()));
|
||||
wxString title = m_WParser->GetSource()->Mid(
|
||||
tag.GetBeginPos(),
|
||||
tag.GetEndPos1()-tag.GetBeginPos());
|
||||
title = m_WParser->GetEntitiesParser()->Parse(title);
|
||||
wfr->OnSetTitle(title);
|
||||
}
|
||||
}
|
||||
return TRUE;
|
||||
|
Reference in New Issue
Block a user