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

Adrian Eyre a.eyre at optichrome.com
Thu Mar 9 09:29:51 EST 2000


> b.startElement ('a', {'href': 'script.py?foo=bar&ding=bats'})
>
> [snip]
>
> <HTML><A HREF="script.py?foo=bar&ding=bats">Press me</A></HTML> 
> 
> note the '&' 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