--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+unsubscribe@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/75fa4af7-e7f7-45ac-8078-ac7d48ec2516%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
It appears to be a bug in mistune’s parsing of HTML attributes. If you put quotes around the width, it seems to work, so instead of:
<img src="figures/..." width=400>
do
<img src="figures/..." width="400">
This has been fixed in mistune master, but there has not yet been a release. mistune 0.7.4 should be the first version with the fix.
-Min
It appears to be a bug in mistune’s parsing of HTML attributes. If you put quotes around the width, it seems to work, so instead of:
<img src="figures/..." width=400>do
<img src="figures/..." width="400">This has been fixed in mistune master, but there has not yet been a release. mistune 0.7.4 should be the first version with the fix.
-Min
On Fri, Jan 20, 2017 at 11:56 AM, MinRK <benja...@gmail.com> wrote:
That looks like a bug in nbconvert where the HTML is getting escaped. I'll open an Issue if I can find out what's up.My guess is that it's a regression in a recent version and GitHub hasn't upgraded nbconvert and/or uses a custom template, so they aren't affected by the bug.
On Thu, Jan 19, 2017 at 9:59 AM, Antonino Ingargiola <trit...@gmail.com> wrote:
Hi to all,I have some notebooks with images in markdown cells that are not rendered by nbviewer anymore. See for example:http://nbviewer.jupyter.org/github/tritemio/multispot_paper/blob/master/index.ipynb#μs-ALEX:-Corrected-E-figureInstead of the figure, nbviewer shows <img width=400 src="figures/5dsDNA_FRET_usALEX.svg">.Github renders the figure correctly:Any hints why it is happening?Antonio
--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+u...@googlegroups.com.
It appears to be a bug in mistune’s parsing of HTML attributes. If you put quotes around the width, it seems to work, so instead of:
<img src="figures/..." width=400>do
<img src="figures/..." width="400">This has been fixed in mistune master, but there has not yet been a release. mistune 0.7.4 should be the first version with the fix.
-Min
On Fri, Jan 20, 2017 at 11:56 AM, MinRK <benja...@gmail.com> wrote:
That looks like a bug in nbconvert where the HTML is getting escaped. I'll open an Issue if I can find out what's up.My guess is that it's a regression in a recent version and GitHub hasn't upgraded nbconvert and/or uses a custom template, so they aren't affected by the bug.
On Thu, Jan 19, 2017 at 9:59 AM, Antonino Ingargiola <trit...@gmail.com> wrote:
Hi to all,I have some notebooks with images in markdown cells that are not rendered by nbviewer anymore. See for example:http://nbviewer.jupyter.org/github/tritemio/multispot_paper/blob/master/index.ipynb#μs-ALEX:-Corrected-E-figureInstead of the figure, nbviewer shows <img width=400 src="figures/5dsDNA_FRET_usALEX.svg">.Github renders the figure correctly:Any hints why it is happening?Antonio
--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+u...@googlegroups.com.