Done...it is now logged as XWIKI 5184 (http://jira.xwiki.org/jira/browse/XWIKI-5184).
Thanks, -Rob From: Marius Dumitru Florea [via XWiki] [mailto:[email protected]] Sent: Wednesday, May 12, 2010 5:23 PM To: Zimmer, Robert E Subject: Re: Problem with links to Headers after export to HTML Hi Rob, On 05/12/2010 11:23 PM, RobZ wrote: > > I have taken my Xwiki site and have exported it to HTML. I have a table of > contents at the top of each page with autogenerates based on the Headers on > the page. These TOC links work correctly when clicked, they take you to the > appropriate header within the page. > > Within the text of the page though, if a link is inserted referencing a > header, it works fine in the wiki, but when exported to HTML the URL is > mangled. > > For example: A link within a page should be: > "xwiki.Main.<PageName>.html#H<Header Name>" > Is instead rendered as: > "xwiki.Main.<PageName>#H<Header Name>.html" > > This results in a link that does not function correctly. > > Has anyone seen this problem? Is there a way to fix this other than to > search all of the files and manually edit them? It looks like http://svn.xwiki.org/svnroot/xwiki/platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/web/ExportURLFactory.java puts the anchor before the ".html" extension in the createURL method. Can you report this bug on http://jira.xwiki.org/jira/browse/XWIKI/component/10592? Thanks, Marius > > I am using Xwiki Enterprise 2.0.2.24645 > > Thanks for any help you can provide. > > -Rob _______________________________________________ users mailing list [hidden email]</user/SendEmail.jtp?type=node&node=5043457&i=0> http://lists.xwiki.org/mailman/listinfo/users ________________________________ View message @ http://xwiki.475771.n2.nabble.com/Problem-with-links-to-Headers-after-export-to-HTML-tp5043223p5043457.html To unsubscribe from Problem with links to Headers after export to HTML, click here< (link removed) >. -- View this message in context: http://xwiki.475771.n2.nabble.com/Problem-with-links-to-Headers-after-export-to-HTML-tp5043223p5046063.html Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
