Kaydet (Commit) 89ec9473 authored tarafından Christina Rossmanith's avatar Christina Rossmanith Kaydeden (comit) Thorsten Behrens

Fix Bug 34666

üst 1a770c79
......@@ -1252,6 +1252,14 @@ int HTMLParser::_GetNextToken()
if( '>' != nNextCh && IsParserWorking() )
{
ScanText( '>' );
// #i34666# closing "/>"?:
// return HTML_UNKNOWNCONTROL_OFF instead of
// HTML_UNKNOWNCONTROL_ON
if ('/' == aToken.GetChar(aToken.Len()-1)) {
if (HTML_UNKNOWNCONTROL_ON == nRet)
nRet = HTML_UNKNOWNCONTROL_OFF;
}
if( sal_Unicode(EOF) == nNextCh && rInput.IsEof() )
{
// zurueck hinter die < gehen und dort neu
......
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