I just wanted to add that I'm having the same problem with nbviewer (sort 
of)  

    <img style="float:right; max-width: 30%; height: auto;" src = 
"./Images/3D Printing/3D printers.jpg"/>

doesn't render on for me though similarly formatted images do.  These all 
previously did display.

On Friday, January 20, 2017 at 9:10:26 PM UTC-5, Michael Pacer wrote:
>
> Just wanted to point out that while that particular bug was fixed with 
> that update, this commit 
> <https://github.com/lepture/mistune/commit/f7b5239ab73d576f55041bc87b40c46dcc4707fb>
>  may 
> introduce some problems and cause delays (it looks like this was supposed 
> to take care of the case where html attributes were not delimited by 
> quotes, which is valid html if not advised). I saw some issues with that 
> commit banning empty string attribute values(important for <img> tags' alt 
> attributes) and decided to make a PR 
> <https://github.com/lepture/mistune/pull/123> to address that, and in the 
> process discovered that mistune fails its tests if run through pytest 
> (rather than nosetests).
>
> So, even if mistune were to issue a new release today, I wouldn't be 
> comfortable bumping the version in nbconvert until that is ironed out. I'm 
> going to try to help with this.
>
> Fortunately, as you point out, wrapping values in quotes works to solve 
> this problem for now.
>
> 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]> 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]> 
>>> 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].
>>>> 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/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/3b97b233-9107-492a-a154-aef20bf53831%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to