[ https://issues.apache.org/jira/browse/DOXIA-696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17708734#comment-17708734 ]
Michael Osipov commented on DOXIA-696: -------------------------------------- I wouldn't do anything on the client side because it is completely disjoint from the backend unless we can modify anchorjs to have the same id scheme. On the server side, this should be controllable. Then it will be consistent with the TOC macro, after that I consider anchor JS as basically obsolete because we'd have two logical IDs for the same node. We had this actually and I removed it with DOXIASITETOOLS-266 because it created chaos. Multiple *identical* IDs. So a new solution needs to be carefully designed not to repeat previous issues. I think this is not a Doxia issue per se, but Doxia Sitetools. > Inconsistent anchors between toc macro and headers > -------------------------------------------------- > > Key: DOXIA-696 > URL: https://issues.apache.org/jira/browse/DOXIA-696 > Project: Maven Doxia > Issue Type: Bug > Reporter: Slawomir Jaranowski > Assignee: Konrad Windszus > Priority: Major > Fix For: wontfix-candidate > > > In markdown document add: > {code:java} > <!-- MACRO{toc|fromDepth=2} --> > {code} > Then anchors generated by toc macro looks like: {{#Your_First_Mojo}} > and anchors generated by skin looks like: {{#your-first-plugin}} > - Doxia Site Renderer 2.0.0-M4 > - Fluido Skin 1.11.1 > Tested on Maven main site without more investigate. -- This message was sent by Atlassian Jira (v8.20.10#820010)