summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorLouis Possoz <louis.possoz@quelfutur.org>2012-10-26 16:18:34 +0200
committerMichael Stahl <mstahl@redhat.com>2012-11-02 20:20:07 +0000
commit9fdf86df4eb65a0cd2a178998daf751afc34805e (patch)
tree0481e30fb9106f061d210aa2323926e66702d831 /svtools
parent0770e163ecf753004f73273f6caf060a02b65173 (diff)
Fix bug 50931 : Cannot import HTML <br/> and <hr/>
Change-Id: Ia4932c2e1f451ae45675a32de42a5cf971224211 Reviewed-on: https://gerrit.libreoffice.org/915 Tested-by: Michael Stahl <mstahl@redhat.com> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/svhtml/parhtml.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/svhtml/parhtml.cxx b/svtools/source/svhtml/parhtml.cxx
index 2cf6ebbc3c2b..743ecec69c43 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() )