yes, that's the way i use before, but my question is not the way to insert the value into the table but about the represent of text field that contain html tag. *e.g. SQLFORM.grid with XML(sanitize = False)* Dear Test, NAV Product NAV Date NAV per Unit (Rp.) Previous NAV per Unit (Rp.) Daily Return (Rp.) Daily Return (%) MNC Dana Ekuitas 11-11-2016 3.947,0800 4.101,0200 -153,9400 -3,75 %
*e.g. **SQLFORM.grid **with XML(sanitize = True)* <html><head><style></style></head><body> <tbody> <th> NAV </th> <th> Product </th> <th> NAV Date </th> <th> NAV per Unit (Rp.) </th> <th> Previous NAV per Unit (Rp.) </th> <th> Daily Return (Rp.) </th> <th> Daily Return (%) </th> </tbody> MNC Dana Ekuitas 11-11-2016 3.947,0800 4.101,0200 -153,9400 -3,75 % </body></html> what is the best recommended way to represent this? i want to have the first example result, but it seems it vuneral to XSS attack (sanitize = False), so not sure what is the best way to face this using web2py way thanks n best regards, stifan -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.

