diff options
author | Louis Possoz <louis.possoz@quelfutur.org> | 2012-10-26 16:18:34 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-11-05 10:35:07 +0100 |
commit | f8d569846ad04ff80e2810be865cacffd6cc1527 (patch) | |
tree | 00b35bf31143884b9c5738bf7be8cd22795e4dfc /svtools | |
parent | escape quotes, unescape double escaped quotes fdo#56648 (diff) | |
download | core-f8d569846ad04ff80e2810be865cacffd6cc1527.tar.gz core-f8d569846ad04ff80e2810be865cacffd6cc1527.zip |
fdo#50931 : Cannot import HTML <br/> and <hr/>
Reviewed-on: https://gerrit.libreoffice.org/915
Tested-by: Michael Stahl <mstahl@redhat.com>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
(cherry picked from commit 9fdf86df4eb65a0cd2a178998daf751afc34805e)
Change-Id: Ia4932c2e1f451ae45675a32de42a5cf971224211
Signed-off-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/svhtml/parhtml.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/svhtml/parhtml.cxx b/svtools/source/svhtml/parhtml.cxx index d1c588cd5e81..3011833d40d9 100644 --- a/svtools/source/svhtml/parhtml.cxx +++ b/svtools/source/svhtml/parhtml.cxx @@ -1119,7 +1119,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() ) |