db.some_table.some_text.writable = False
db.some_table.some_text.represent = lambda s: XML(s.replace('\n','<br /
>'))On May 3, 8:36 am, szimszon <[email protected]> wrote: > Is there a way to replace \n with <br /> and space with   in the > displayed value of text field if the field is writable=False and displayed > in crud form: > > db.define_table('some_table', > Field('some_text','text',writable=False) > ) > > crud.update(db.some_table,request.args(0))

