> Why do you want comment it out anyway?
>

This: 

> The reason is that is allows storing variables that contain XML('.....') 
> in sessions. That is useful to deal with flash messages that contain more 
> than just text. 


I want to store XML in session flash message, like Massimo stated, but in 
fact this code prevents to do it. If I try 
session.flash = XML('Hello <b>world</b>')
the output is "Hello <b>world</b>", and if I comment out the code above, 
the output is as desired "Hello *world*".

-- 
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/d/optout.

Reply via email to