HTML to PDF / DOCX / RTF Java converter library Forums PD4ML Forums Technical questions / Troubleshooting External stylesheet not loaded when present inside body

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #33651

    Hi,

    We are in process of buying pd4ml UA license. So currently, we are performing some tests with the demo jar (pd4ml v4.0.5-SNAPSHOT).
    When external stylesheet is present in <body> in html markup, the css is not being parsed whereas the stylesheet if mentioned within <head> is working properly.
    Markup being used:
    <html>
    <head>
    <link rel=”stylesheet” type=”text/css” href=”TestCss1.css”/>
    </head>
    <body>

    <link rel=”stylesheet” type=”text/css” href=”TestCss2.css”/>

    <p> I am a para </p>
    </body>
    </html>

    Here the css present in TestCss1.css is getting applied in PDF. But the css present in TestCss2.css is NOT getting applied in PDF.
    With pd4ml-3.1 (V3), this seems to be working. So is this change made deliberately in v4? Or can we expect this usecase to be fixed in V4? Please suggest.

    Thanks,
    Rekha

    #33654

    Can someone please respond to this post?

    #33656

    Any update on this issue ? Its regression issue in version 4 compared to version 3

    #33673

    Hi! I am terribly sorry for the delay with the reply! The forum replication broke some user mapping and we did not receive forum notifications in the meantime.

    We added the issue to be fixed with the next release.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.