New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

generated links to topics under a chunked to-content topic point to wrong id #2702

Closed
lionelmoi opened this Issue May 24, 2017 · 2 comments

Comments

Projects
None yet
3 participants
@lionelmoi
Contributor

lionelmoi commented May 24, 2017

This issue is related to the HTML5 transform.

When linking to a child of a chunked="to-content" topic the resulting href does not correspond to the @id of the target in the output:

<xref href="child-topic-2.dita#child-topic-2"/> where child-topic-2.dita is under a chunked topic, outputs as <a class="xref" href="head-topic-chunked.html#child-topic-2">.

Whereas child-topic-2.dita outputs as <article class="topic nested1" aria-labelledby="ariaid-title3" id="head-topic-chunked__child-topic-2">.

Note the original @id concatenated with the chunked topic @id.

The same issue is true with a keyref instead of an href.

See samples for more info. I used DITA-OT 2.4.6 and develop produce the output.
DITA.zip
HTML5.zip
HTML5-develop.zip

@jelovirt

This comment has been minimized.

Show comment
Hide comment
@jelovirt

jelovirt May 24, 2017

Member

Are you able to reproduce this with develop branch?

Member

jelovirt commented May 24, 2017

Are you able to reproduce this with develop branch?

@lionelmoi

This comment has been minimized.

Show comment
Hide comment
@lionelmoi

lionelmoi May 29, 2017

Contributor

Seems #2686 fixed the issue !

Contributor

lionelmoi commented May 29, 2017

Seems #2686 fixed the issue !

@jelovirt jelovirt closed this May 30, 2017

@infotexture infotexture added this to the 2.5 milestone May 30, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment