Skip to content

PDF Documentation Spring-Core 5.1.5: Occurrences of a STRONG tag, where we should see a bold font #22577

Closed

Description

@molzb

Documentation Spring-Core 5.1.5 as PDF
https://docs.spring.io/spring/docs/current/spring-framework-reference/pdf/core.pdf

There are code samples with a (written) <strong> tag, where we should see the code section with a bold font.

Examples:
Page 50: <strong>@RequestScope</strong>
Page 62: <strong>@SessionScope</strong>
and 29 more occurrences. Please use Ctrl+F.

Activity

  1. added
    status: waiting-for-triage
    on Mar 12, 2019
  2. jhoeller commented on Mar 13, 2019

    @jhoeller
    Contributor

    @bclozel Could you have a look at this please? I suppose those tags were in actual effect at some point but got turned to literal text through some general formatting changes...

  3. sbrannen commented on Mar 13, 2019

    @sbrannen
    Member

    The root cause is the presence of asterisks within code blocks that were carried over from the Docbook days, and the PDF generator simply doesn't support that.

    For example, the following:

    		<bean class="example.SimpleMovieCatalog" **primary="true"**>
    			<!-- inject any dependencies required by this bean -->
    		</bean>

    Gets converted to:

    		<bean class="example.SimpleMovieCatalog" <strong>primary="true"</strong>>
    			<!-- inject any dependencies required by this bean -->
    		</bean>

    So one solution (perhaps the only solution) is to simply remove all bold formatting (i.e., **xyz**) from all source code blocks throughout the Asciidoc files.

  4. added
    type: documentation
    and removed
    status: waiting-for-triage
    on Mar 13, 2019
  5. added this to the 5.2 M1 milestone on Mar 13, 2019
  6. sbrannen commented on Mar 13, 2019

    @sbrannen
    Member

    @bclozel Could you have a look at this please?

    @bclozel, I'd be happy to take it over unless you want to. Just let me know...

  7. modified the milestones: 5.2 M1, 5.1.6 on Mar 13, 2019
  8. jhoeller commented on Mar 13, 2019

    @jhoeller
    Contributor

    @sbrannen, volunteering is always appreciated, so it's yours now :-)

    I was just asking Brian since he did some recent doc formatting stuff for 5.2.

  9. added a commit that references this issue on Mar 13, 2019
    8f7b118
  10. added a commit that references this issue on Mar 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

type: documentation

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions