dita-ot / dita-ot/dita-ot

PDF Output - Draft comments visible in link text

Open
#3,271 8 comments 0 reactions 0 assignees View on GitHub
bug plugin/pdf priority/medium
Dominant language
Java
Stars
453
Forks
211
Avg merge
1d 11h
Merged PRs (30d)
3

Description

Tested with latest DITA OT 3.3 trunk code.
For example, I have a topic with a section, title and draft-comment:


<draft-comment author="tst">123456789</draft-comment>This is a section title (3)

T


Then in another topic, I add an xref to the above section:


.


The PDF output shows the draft comment text inside the link text. The HTML-based output does not have this problem.

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue with the supplied DITA topics and compare the PDF output with the HTML-based output. Trace the PDF xref and link-text processing, then verify that draft-comment text is excluded from the PDF link text while the HTML output remains unaffected.

Written by the indexing model from the issue text.

Assessment

Tech stack
xml
Domain
documentation
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.