HTMLBuilder and <A HREF='script.py?foo=bar&ding=bats'>yeah teah</A>

Adrian Eyre a.eyre at optichrome.com
Thu Mar 9 15:29:51 CET 2000


> b.startElement ('a', {'href': 'script.py?foo=bar&ding=bats'})
>
> [snip]
>
> <HTML><A HREF="script.py?foo=bar&amp;ding=bats">Press me</A></HTML> 
> 
> note the '&amp;' in the href argument.

Indeed. It's substituted for the ampersand, being illegal in an HTML
document.

> How can I do this properly?

What do you mean by properly?

-----------------------------------------------------------------
Adrian Eyre <a.eyre at optichrome.com> - http://www.optichrome.com 





More information about the Python-list mailing list