fdo#74584: Revert "html: Options need to be lowercase, too"
This reverts commit700883b34e
. ...since73e3aafa99
was reverted and sw_htmlexport test fails. Change-Id: Ia83705279e792a0c2375619b6a209e46a319fea7
This commit is contained in:
@@ -1462,8 +1462,10 @@ const HTMLOptions& HTMLParser::GetOptions( sal_uInt16 *pNoConvertToken )
|
||||
|
||||
OUString sName( aToken.copy( nStt, nPos-nStt ) );
|
||||
|
||||
// PlugIns require original token name. Convert to lower case only for searching.
|
||||
nToken = GetHTMLOption( sName.toAsciiLowerCase() ); // Name is ready
|
||||
// PlugIns require original token name. Convert to upper case only for searching.
|
||||
OUString sNameUpperCase( sName.toAsciiUpperCase() );
|
||||
|
||||
nToken = GetHTMLOption( sNameUpperCase ); // Name is ready
|
||||
DBG_ASSERTWARNING( nToken!=HTML_O_UNKNOWN,
|
||||
"GetOption: unknown HTML option" );
|
||||
bool bStripCRLF = (nToken < HTML_OPTION_SCRIPT_START ||
|
||||
|
Reference in New Issue
Block a user