Maven Doxia

Xdoc parser shouldn't insert anchors for section titles

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.0-alpha-9
  • Fix Version/s: 1.1
  • Component/s: Module - Xdoc
  • Labels:
    None
  • Number of attachments :
    0

Description

When I removed that in alpha-9 I broke some things in the site-renderer and TOCMacro (see http://tinyurl.com/26f4zh and http://tinyurl.com/2r6u4p for a discussion), so I had to revert it. I think the anchors should be inserted be a sink for a particular output format, if this is desired, not by a parser. We have to find a more general solution that hopefully doesn't break the TOCMacro.

I am now seeing some consequences of this: I can't generate a pdf for the doxia site (using the sandbox fo-pdf plugin), because of duplicate anchor ids that are generated, which is exactly the same problem we had in m1: MPPDF-40

Issue Links

Activity

Hide
Lukas Theussl added a comment -

Moved anchor generation from xdoc parser to SiteRendererSink.

Show
Lukas Theussl added a comment - Moved anchor generation from xdoc parser to SiteRendererSink.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: