diff --git a/src/html/htmlpars.cpp b/src/html/htmlpars.cpp
index ac2fc44880..efd6d9349e 100644
--- a/src/html/htmlpars.cpp
+++ b/src/html/htmlpars.cpp
@@ -872,7 +872,7 @@ bool wxMetaTagHandler::HandleTag(const wxHtmlTag& tag)
}
if (tag.HasParam(_T("HTTP-EQUIV")) &&
- tag.GetParam(_T("HTTP-EQUIV")) == _T("Content-Type") &&
+ tag.GetParam(_T("HTTP-EQUIV")).IsSameAs(_T("Content-Type"), false) &&
tag.HasParam(_T("CONTENT")))
{
wxString content = tag.GetParam(_T("CONTENT"));