Kaydet (Commit) 9fdf86df authored tarafından Louis Possoz's avatar Louis Possoz Kaydeden (comit) Michael Stahl

Fix bug 50931 : Cannot import HTML <br/> and <hr/>

Change-Id: Ia4932c2e1f451ae45675a32de42a5cf971224211
Reviewed-on: https://gerrit.libreoffice.org/915Tested-by: 's avatarMichael Stahl <mstahl@redhat.com>
Reviewed-by: 's avatarMichael Stahl <mstahl@redhat.com>
üst 0770e163
...@@ -1115,7 +1115,7 @@ int HTMLParser::_GetNextToken() ...@@ -1115,7 +1115,7 @@ int HTMLParser::_GetNextToken()
if( MAX_LEN == sTmpBuffer.getLength() ) if( MAX_LEN == sTmpBuffer.getLength() )
aToken += String(sTmpBuffer.makeStringAndClear()); aToken += String(sTmpBuffer.makeStringAndClear());
nNextCh = GetNextChar(); nNextCh = GetNextChar();
} while( '>' != nNextCh && !HTML_ISSPACE( nNextCh ) && } while( '>' != nNextCh && '/' != nNextCh && !HTML_ISSPACE( nNextCh ) &&
IsParserWorking() && !rInput.IsEof() ); IsParserWorking() && !rInput.IsEof() );
if( sTmpBuffer.getLength() ) if( sTmpBuffer.getLength() )
......
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