jerry
2011-01-16 06:37:06 UTC
Hi,
My template --
"""
<div class="${Markup(google_search_url)}">
${Markup(google_search_url)}
</div>
<form action="${Markup(google_search_url)}" method="get" />
"""
renders to --
"""
<div class="http://www.google.com/search?hl=en&q=genshi">
http://www.google.com/search?hl=en&q=genshi
</div>
<form action="http://www.google.com/search?hl=en&q=genshi"
method="get" />
"""
Notice even within Markup(), the "&"s in attributes are escaped, which
messes up my form submission link.
While this seems like a "feature", is there a work-around, especially
for form action link?
Thanks in advance!
Jerry
My template --
"""
<div class="${Markup(google_search_url)}">
${Markup(google_search_url)}
</div>
<form action="${Markup(google_search_url)}" method="get" />
"""
renders to --
"""
<div class="http://www.google.com/search?hl=en&q=genshi">
http://www.google.com/search?hl=en&q=genshi
</div>
<form action="http://www.google.com/search?hl=en&q=genshi"
method="get" />
"""
Notice even within Markup(), the "&"s in attributes are escaped, which
messes up my form submission link.
While this seems like a "feature", is there a work-around, especially
for form action link?
Thanks in advance!
Jerry
--
You received this message because you are subscribed to the Google Groups "Genshi" group.
To post to this group, send email to ***@googlegroups.com.
To unsubscribe from this group, send email to genshi+***@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/genshi?hl=en.
You received this message because you are subscribed to the Google Groups "Genshi" group.
To post to this group, send email to ***@googlegroups.com.
To unsubscribe from this group, send email to genshi+***@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/genshi?hl=en.