All,

It's been a few months since I've looked at the sparklines web2py
slice (http://web2pyslices.com/main/slices/versions/79/169 or
http://groups.google.com/group/web2py/browse_thread/thread/2a6a7b2cbfe97278/).
It seems that the latest stable and dev builds break the slice because
the controller result is "escaped".  Arguably, this is correct as it
prevents various scripting attacks, but in this case escaping the
output breaks the ajax functionality.  How can I get the controller to
return the result without escaping the characters?

http source output:

$("#dynbar0").sparkline(data.dynbar0, {type: 'bar',
barColor: 'green', 'chartRangeMin': '0',
'chartRangeMax': '20'});

Desired source output:

$("#dynbar0").sparkline(data.dynbar0, {type: 'bar', barColor: 'green',
'chartRangeMin': '0', 'chartRangeMax': '20'});


Thanks!

Reply via email to