I've a template that displays descriptions of books.

The descriptions are long text fields usually containing 1-3
paragraphs of text.

Inside the text description during data entry <BR> tags are placed to
indicate line breaks.

When attempt to using {{ book.description }} in the template, it
outputs all the <BR> tags onto the screen,
when what we want is actual line breaks.

I've attempted as well using {{ book.description|escape }} but that
yields the same result.

Obviously I'm missing part of the concept involved with displaying
long text fields with embeded html via django .

Can someone please give me a clue as to how to make this work or where
to find information to make this work.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@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