Red Hat Bugzilla – Bug 672439
Anchors are not set on <task id="">
Last modified: 2014-06-18 03:03:31 EDT
Description of problem:
If you give a <task> tag an id attribute, no HTML anchor is set. This means that <xref> tags that reference it point nowhere in particular.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create a <task id="foo">
2. create an <xref linkend="foo" />
3. Build your book
4. Click the link created by the <xref>. Notice that it goes nowhere.
According to jfearn this has to do with overriding of anchor-generation by Publican, to ensure valid HTML. It is related to a similar problem with <formalpara>.
Tweaked style to set ID in wrapper div in HTML.
Committed revision 1707.
Verified in revision 1707. Thanks, Jeff!
*** Bug 702166 has been marked as a duplicate of this bug. ***
Back ported to branches/publican-2x
Committed revision 1797.
Verified! Clicking the xref link takes you to the task it is linking to.