To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=51443 Issue #:|51443 Summary:|Broken table of contents hyperlink to heading with |line break when saved as HTML Component:|Word processor Version:|OOo 2.0 Beta Platform:|PC URL:| OS/Version:|Linux Status:|UNCONFIRMED Status whiteboard:| Keywords:| Resolution:| Issue type:|DEFECT Priority:|P3 Subcomponent:|save-export Assigned to:|mru Reported by:|james_gnz
------- Additional comments from [EMAIL PROTECTED] Fri Jul 1 01:16:31 -0700 2005 ------- If I create a heading with a line break (SHIFT+ENTER) in it, create a table of contents with hyperlinks (Entries structure LS/E/LE), and save as HTML Document, then the HTML link & target anchors will have a line break in them. This fails in Mozilla, and I'm fairly sure it's invalid HTML. A bit like this: <div> <b>Contents</b> </div> <p> <a href="#1.Bug report by James G">Bug report<br /> by James G</a> </p> <h1> <a name="1.Bug report by James G"></a>Bug report<br /> by James G </h1> My version of OpenOffice reports itself as 1.9.109 As an aside, would it be possible to restrict the anchor/fragment names to be compatible with XHTML's ID type instead of just HTML's CDATA type? I will be saving documents as HTML, but it would be nice to be able to convert to XHTML later without breaking links to anchors. This page seems to have a suggestion for being compatible with both: <http://www.w3.org/TR/xhtml1/#guidelines> In particular the section: C.8. Fragment Identifiers Which suggests limiting names & ids to: [A-Za-z][A-Za-z0-9:_.-]* Thanks. --------------------------------------------------------------------- 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]