On Oct 26, 5:02 pm, refreegrata <refreegr...@yahoo.com> wrote:
> Hello list, I have a newie question, are in django some function like
> nl2br in the template to print data saved previously from a
> "textarea"? because in my template all the lines are printed in the
> same line.
>
> P.D.: nl2br is PHP function to do this:
>
> "a
> b
> c"
>
> is tranformed in
> "a<br />b<br />c"
>
> Thanks for read, and sorry for my poor english

http://docs.djangoproject.com/en/1.2/ref/templates/builtins/#linebreaks
and
http://docs.djangoproject.com/en/1.2/ref/templates/builtins/#linebreaksbr
--
DR.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to