Kaydet (Commit) 277922e7 authored tarafından Thomas Arnhold's avatar Thomas Arnhold

fix html tests

after 73e3aafa we need to lowercase all
html tags.

Change-Id: Ied686e153666f79c2a866473eeb393ec4e5bb961
üst 1bbfd5a0
......@@ -886,7 +886,7 @@ int HTMLParser::_GetNextRawToken()
}
OUString aTok( sTmpBuffer.toString() );
aTok = aTok.toAsciiUpperCase();
aTok = aTok.toAsciiLowerCase();
bool bDone = false;
if( bReadScript || !aEndToken.isEmpty() )
{
......@@ -1132,7 +1132,7 @@ int HTMLParser::_GetNextToken()
// Search token in table:
sSaveToken = aToken;
aToken = aToken.toAsciiUpperCase();
aToken = aToken.toAsciiLowerCase();
if( 0 == (nRet = GetHTMLToken( aToken )) )
// Unknown control
nRet = HTML_UNKNOWNCONTROL_ON;
......@@ -1930,7 +1930,7 @@ bool HTMLParser::IsHTMLFormat( const sal_Char* pHeader,
sCmp = pHeader;
}
sCmp = sCmp.toAsciiUpperCase();
sCmp = sCmp.toAsciiLowerCase();
// A HTML document must have a '<' in the first line
sal_Int32 nStart = sCmp.indexOf('<');
......
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