[web2py] Re: Text that follows a double-quote inside of current.T() is chopped when used as textarea placeholder

2015-05-18 Thread Spokes
Thanks, Anthony. Issue submitted. On Sunday, May 17, 2015 at 10:21:31 PM UTC-5, Anthony wrote: The problem is that there is an inconsistency with the escaping of regular strings vs. LazyT objects when serializing HTML helpers. When helpers are serialized, all attribute values are passed to

[web2py] Re: Text that follows a double-quote inside of current.T() is chopped when used as textarea placeholder

2015-05-17 Thread Anthony
The problem is that there is an inconsistency with the escaping of regular strings vs. LazyT objects when serializing HTML helpers. When helpers are serialized, all attribute values are passed to gluon.html.xmlescape. In xmlescape, regular strings are ultimately passed to cgi.escape with the

[web2py] Re: Text that follows a double-quote inside of current.T() is chopped when used as textarea placeholder

2015-05-17 Thread Spokes
It doesn't matter if the double quotes are escaped or not escaped (I was trying different things in an attempt to get it to work) - either way, the text will be truncated after the first double quote. On Sunday, May 17, 2015 at 2:13:24 PM UTC-5, Niphlod wrote: why are you escaping the double

[web2py] Re: Text that follows a double-quote inside of current.T() is chopped when used as textarea placeholder

2015-05-17 Thread Niphlod
why are you escaping the double quotes ? On Sunday, May 17, 2015 at 6:29:00 PM UTC+2, Spokes wrote: I'm attempting to include a relatively lengthy passage of text in a textarea placeholder; the text contains some terms within double-quotes, and the text string is passed to current.T(). The