I would like to be able to put an ampersand in link href tag.
The following code however results in an:

ExpatError: not well-formed (invalid token): line 6, column 38

import kid
s="""
<html>
<head>
</head>
<body>
  <a href="http://127.0.0.1/link?a=1&b=2";>testlink</a>
</body>
</html>
"""


t=kid.Template(source=s)
#s=t.serialize(output='html')
#print s


I found no solutions in the faq (Why can't I write a<b or a&b in some
places?) or elsewhere.
I tried different combinations of serializers etc.

with regards, Jaap


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
kid-template-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kid-template-discuss

Reply via email to