Rather than putting "\n" put "<br>"
On Thursday, January 24, 2013 1:51:23 AM UTC-8, Yebach wrote:
> I send string to flash from my model on
> auth.messages.registration_pending.
>
> Since it is quite long i want to make it multiline. \n in my string do not
> work
>
> how to handle that?
>
> thank you
>
> best regarst
>
> On Tuesday, November 24, 2009 5:23:38 PM UTC+1, mdipierro wrote:
>>
>> response.flash = DIV("hello",BR(),"world")
>>
>> On Nov 24, 3:53 am, "hamdy.a.farag" <[email protected]> wrote:
>> > Hi
>> >
>> > How can I make response.flash display a message containing new line
>> > characters ?
>
>
--
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/groups/opt_out.