-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Embedding SVG images in HTML changes the height #9893
Comments
Can you upload fig.svg so I can test? I suspect this is fixed by a recent commit. |
Of course. Should be available here although you need to rename it: fig.svg |
The version in
and without If you add the Anyway I think the new behavior should suit you, so perhaps this can be closed? |
I just checked with the Github version and it does indeed seem to be resolved there. So I'll go ahead and close it. Sorry for opening an issue that was already resolved. |
Explain the problem.
When rendering a HTML document from a Markdown with an SVG image, the height of the image will differ depending on whether you're using
--embed-resources
or not.Simple
.md
document:Using
pandoc test.md -o test.html
yields a width of672
and no height tag.Using
pandoc test.md -o test.html --embed-resources
yields a width of672
and height of57.0899pt
.Would be nice if they would produce the same result.
Pandoc version?
pandoc 3.2 on Windows 11
The text was updated successfully, but these errors were encountered: