Bug 672439 - Anchors are not set on <task id="">
Summary: Anchors are not set on <task id="">
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Publican
Classification: Community
Component: publican
Version: 2.5
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: Jeff Fearn 🐞
QA Contact: Misty Stanley-Jones
URL:
Whiteboard:
: 702166 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-25 04:49 UTC by Misty Stanley-Jones
Modified: 2014-06-18 07:03 UTC (History)
5 users (show)

Fixed In Version: 2.6
Clone Of:
Environment:
Last Closed: 2011-07-26 00:42:51 UTC
Embargoed:


Attachments (Terms of Use)

Description Misty Stanley-Jones 2011-01-25 04:49:00 UTC
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):


How reproducible:
Every time

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.
  
Actual results:


Expected results:


Additional info:

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>.

Comment 1 Jeff Fearn 🐞 2011-01-28 04:04:41 UTC
Tweaked style to set ID in wrapper div in HTML.

Committed revision 1707.

Comment 2 Misty Stanley-Jones 2011-01-28 05:25:08 UTC
Verified in revision 1707. Thanks, Jeff!

Comment 3 Jeff Fearn 🐞 2011-05-19 08:35:41 UTC
*** Bug 702166 has been marked as a duplicate of this bug. ***

Comment 4 Jeff Fearn 🐞 2011-07-01 11:24:12 UTC
Back ported to branches/publican-2x

Committed revision 1797.

Comment 5 Rebecca Newton 2011-07-12 05:59:50 UTC
Verified! Clicking the xref link takes you to the task it is linking to.


Note You need to log in before you can comment on or make changes to this bug.