Am Montag, 25. Februar 2008 schrieb Florian Lindner:
> Hello,
> markdown (Python implementation) seems to render:
>
> ![alternativer text](pfad/und/eine lange/url zum bild.jpg)
>
> to
>
> <img src="pfad/und/eine" title="lange/url zum bild.jpg"
> alt="alternativer text"/>
>
> breaking the URL at the whitespace. AFAIK whitespaces are ok in URLs
> so why is it breaking up the URL here?
>
> Thanks,
>
> Florian

No, whitespaces are not ok, you should encode them as "%20" without the double 
quotes. But I'd like to see an extension to Markdown that you could write:

    ![alternativer text]("pfad/und/eine lange/url zum bild.jpg" testtitle)

Which would be outputted as:

    <img src="pfad/und/eine%20lange/url%20zum%20bild.jpg" alt="alternativer
       text" title="testtitle" />

-- 
Milian Wolff
http://milianw.de
OpenPGP key: CD1D1393

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Markdown-Discuss mailing list
[email protected]
http://six.pairlist.net/mailman/listinfo/markdown-discuss

Reply via email to