True, thanks.
That generates HTML entities in the output which work fine as you pointed 
out before:

data-options='{"mode":"calbox"}'

Probably it was that presentation that got me started on using XML to get 
rid of them.

On that note two things spring to mind:
1) Add an entry to the book about this "pitfall".
2) Would it possible to output single quoted instead of double quoted 
without breaking anything?.





On Tuesday, October 29, 2013 6:54:51 AM UTC-4, Niphlod wrote:
>
> I generated that simply with
> data=dict(options='{"mode" : "calbox"}')
>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to