html2pdf icon indicating copy to clipboard operation
html2pdf copied to clipboard

SVG in Header/Footer section

Open opa-rudi opened this issue 6 years ago • 2 comments

Hi, is it possible to insert tag in header or footer section? I tried this but an error occured.

opa-rudi avatar Aug 12 '19 08:08 opa-rudi

Can you be more verbose? Was it an error about the footer tag not being present or was it rather the missing support for the svg tag?

CWBudde avatar Jan 10 '21 13:01 CWBudde

Ah, I see you meant having an svg draw tag with-in the page_footer tag. In that case the error message reads:

The asked [path] tag is not in a [DRAW] tag (although it is).

It seems as if the SVG drawer is not opened properly in the footer.

CWBudde avatar Jan 10 '21 18:01 CWBudde