Skip to content

SVGs not being displayed #1028

Description

@ChrisAndrewsBB

Hi.

I have a page that sets an img source to an svg file conditionally using js. and is cloned into an element within the div that is to be printed to pdf. Both images show fine on screen but when pushed to pdf the cloned element does not show the image and there is an empty space left in its place.

Changing the image to use png instead shows the image fine but I would like to use SVG if possible for the scalability.

Html2pdf.js version used: 0.14.0

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions