Thanks Min, the quoting solved the problem! Antonio
On Friday, January 20, 2017 at 2:28:31 PM UTC-8, Min RK wrote: > > 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 <https://github.com/lepture/mistune/issues/112> 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 <[email protected] <javascript:>> > 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 <[email protected] >> <javascript:>> 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-figure >>> >>> Instead of the figure, nbviewer shows <img width=400 >>> src="figures/5dsDNA_FRET_usALEX.svg">. >>> >>> Github renders the figure correctly: >>> >>> https://github.com/tritemio/multispot_paper/blob/master/index.ipynb >>> >>> 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 [email protected] <javascript:>. >>> To post to this group, send email to [email protected] >>> <javascript:>. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/jupyter/75fa4af7-e7f7-45ac-8078-ac7d48ec2516%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/jupyter/75fa4af7-e7f7-45ac-8078-ac7d48ec2516%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> > -- 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 [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/25645beb-a3d7-41f5-8d34-40d7f6fe3520%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
