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 [email protected] http://lists.xwiki.org/mailman/listinfo/users
