To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=59064
------- Additional comments from [EMAIL PROTECTED] Tue Jul 1 10:31:55 +0000 2008 ------- I was wrong when assuming that the unknown tag rather than its text content is inserted. It is in fact the text content. However, I'm still not fine with the patch. The existing code ignores the content of unknown elements if, and only if, it is in the header of an HTML document. If the unknown element occurs in the body, its content is already inserted. The patch unconditionally inserts the content of the unknown element, even if the tag occurs in the header. This may have the result that for other pages text suddenly appears at the top of the page that should not be displayed. So, rather than unconditionally inserting the text, I would suggest to a) check why this occurs only when pasting from the clipboard. If the page is loaded, everything is fine. Maybe the text in the clipboard misses a <body> element? b) modify the condition in line 2007ff to work correctly with clipboard documents: case HTML_UNKNOWNCONTROL_ON: // Im Header muss der Inhalt von unbekannten Token ignoriert werden, // es sei denn, das Token faengt mit einem '!' an. if( IsInHeader() && !IsReadPRE() && !aUnknownToken.Len() && sSaveToken.Len() && '!' != sSaveToken.GetChar(0) && '%' != sSaveToken.GetChar(0) ) aUnknownToken = sSaveToken; // kein break --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]