[Libreoffice-commits] .: svtools/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Fri Nov 2 13:20:34 PDT 2012
svtools/source/svhtml/parhtml.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 9fdf86df4eb65a0cd2a178998daf751afc34805e
Author: Louis Possoz <louis.possoz at quelfutur.org>
Date: Fri Oct 26 16:18:34 2012 +0200
Fix bug 50931 : Cannot import HTML <br/> and <hr/>
Change-Id: Ia4932c2e1f451ae45675a32de42a5cf971224211
Reviewed-on: https://gerrit.libreoffice.org/915
Tested-by: Michael Stahl <mstahl at redhat.com>
Reviewed-by: Michael Stahl <mstahl at redhat.com>
diff --git a/svtools/source/svhtml/parhtml.cxx b/svtools/source/svhtml/parhtml.cxx
index 2cf6ebb..743ecec 100644
--- a/svtools/source/svhtml/parhtml.cxx
+++ b/svtools/source/svhtml/parhtml.cxx
@@ -1115,7 +1115,7 @@ int HTMLParser::_GetNextToken()
if( MAX_LEN == sTmpBuffer.getLength() )
aToken += String(sTmpBuffer.makeStringAndClear());
nNextCh = GetNextChar();
- } while( '>' != nNextCh && !HTML_ISSPACE( nNextCh ) &&
+ } while( '>' != nNextCh && '/' != nNextCh && !HTML_ISSPACE( nNextCh ) &&
IsParserWorking() && !rInput.IsEof() );
if( sTmpBuffer.getLength() )
More information about the Libreoffice-commits
mailing list