Skip to content
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

[XSL:FO] unexpected shortdesc formatting #3865

Open
thendarion opened this issue Feb 1, 2022 · 0 comments · May be fixed by #3866
Open

[XSL:FO] unexpected shortdesc formatting #3865

thendarion opened this issue Feb 1, 2022 · 0 comments · May be fixed by #3866
Labels

Comments

@thendarion
Copy link
Contributor

Expected Behavior

<xsl:attribute-set name="link__shortdesc">
and
<xsl:attribute-set name="topic__shortdesc">
are applied independently

Actual Behavior

<xsl:attribute-set name="topic__shortdesc">
is applied after
<xsl:attribute-set name="link__shortdesc">
at all times, thus overriding the formatting

Possible Solution

update

<xsl:apply-templates select="*[contains(@class, ' topic/desc ')]"/>

and maybe
<xsl:apply-templates select="$element/*[contains(@class, ' topic/shortdesc ')]"/>

so that
<xsl:attribute-set name="topic__shortdesc">
is not applied anymore on link short descriptions

Steps to Reproduce

render a related link with short descriptions

  • DITA-OT version:
    3.6.1
  • How did you run DITA-OT?
    dita command
  • Transformation type:
    PDF
@thendarion thendarion added the bug label Feb 1, 2022
thendarion added a commit to thendarion/dita-ot that referenced this issue Feb 1, 2022
Signed-off-by: thendarion <16006640+thendarion@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant