Skip to content

width tag not respected for images #44

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

Closed
nschloe opened this issue Nov 7, 2016 · 2 comments
Closed

width tag not respected for images #44

nschloe opened this issue Nov 7, 2016 · 2 comments
Assignees
Labels

Comments

@nschloe
Copy link

nschloe commented Nov 7, 2016

When including images like

.. figure:: https://nschloe.github.io/quadrature/circle.svg
   :alt: 
   :width: 25.0%

the width tag is not respected. See, e.g., here.

(The bug is also present in the on legacy, see here.)

@dstufft
Copy link
Member

dstufft commented Nov 7, 2016

I need to check what happens if someone puts a huge image in the output here, but I think this is probably OK.

@mgedmin
Copy link
Contributor

mgedmin commented Dec 29, 2016

An example of this problem is https://pypi.python.org/pypi/ghcloneall. I'm trying to shrink the asciinema-provided image to 50%, but PyPI strips my width/height attributes. (Warehouse at least applies a max-width: 100% so it's not so bad there.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants