Am Dienstag, 1. April 2008 schrieb Waylan Limberg:
> We recently received the following bug report for the python-markdown
>
> implementation:
> > The "&" are escaped in URLs.
> >
> > An example:
> >     [Link](http://www.site.com/?param1=value1&param2=value1)
> >
> > Should output:
> >     <a href="http://www.site.com/?param1=value1&param2=value1";>Link</a>

No it shouldn't. This is invalid (x)HTML.

> > Currently outputs:
> >     <a
> > href="http://www.site.com/?param1=value1&amp;param2=value1";>Link</a>

Which is valid (x)HTML!

> > So the "&" must not be escaped!

It must! See also <http://htmlhelp.com/tools/validator/problems.html#amp>



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

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

_______________________________________________
Markdown-Discuss mailing list
Markdown-Discuss@six.pairlist.net
http://six.pairlist.net/mailman/listinfo/markdown-discuss

Reply via email to