Re: Preformatted text in templates

2006-03-26 Thread Adrian Holovaty
On 3/24/06, Hari <[EMAIL PROTECTED]> wrote: > Now, the problem is with whitespaces. I have to display them as is. > > One of the solutions is to surround {{text}} with tag. > Is there any other way (a filter or something) that can achieve the > same? I'd suggest using a tag for that -- it's the

Re: Preformatted text in templates

2006-03-24 Thread limodou
On 3/25/06, Hari <[EMAIL PROTECTED]> wrote: > > Hi, > > I am quite new to Django; been working on an app using Django for 3-4 > days. > > I have a need to show large piece of text as is. I had issues with > linebreaks, which I solved using > {{ text|linebreaks }} > > Now, the problem is with white