On Thu, Nov 13, 2008 at 1:16 PM, HG wrote: > Errors relate to: > - Common error occurs when including a URL which contains an ampersand > ("&"): > > - This is invalid! <a href="foo.cgi? > chapter=1§ion=2©=3&lang=en">...</a> > This example generates an error for "unknown entity section" because > the "&" is assumed to begin an entity reference.
I think django template is automatically escaping the url (feature, not bug, since most variables need escaping). To avoid this, mark the url as "safe". In the Hello World example: <a href="{{ url|safe }}">{{ url_linktext }}</a> -- rodrigo --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---