diff options
author | Christina Rossmanith <ChrRossmanith@web.de> | 2011-03-17 13:47:12 +0100 |
---|---|---|
committer | Thorsten Behrens <tbehrens@novell.com> | 2011-03-18 13:26:06 +0100 |
commit | 89ec94736f2eef02cb97dc77e33bf404b7a215a2 (patch) | |
tree | 7e974975d0d35197d93e53a38f9700e2da7e15e1 /svtools/source/svhtml | |
parent | 1a770c79a29015f6857cf97a20cfbb0958231c1f (diff) |
Fix Bug 34666
Diffstat (limited to 'svtools/source/svhtml')
-rw-r--r-- | svtools/source/svhtml/parhtml.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/svtools/source/svhtml/parhtml.cxx b/svtools/source/svhtml/parhtml.cxx index dc3f593c6729..be79f00627cf 100644 --- a/svtools/source/svhtml/parhtml.cxx +++ b/svtools/source/svhtml/parhtml.cxx @@ -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 |