Re: Line continuation in block tag?

2010-06-14 Thread Thomas Allen
I have written certain custom tags that accept HTML attributes (typically id and class), so they can often be verbose in usage. My small idea was to write a tag that renders its contents as a tag, but the trouble is that I cannot figure out how to parse the tag body. For multi-line use of a tag "f

Re: Line continuation in block tag?

2010-05-24 Thread Dennis Kaarsemaker
On ma, 2010-05-24 at 07:15 -0700, Thomas Allen wrote: > Thomas Allen wrote: > > Is that possible in a Django template? If my tag spans more than one > > line, it is rendered as plaintext. > > Is this not possible? Correct. Tags should be on one line. -- Dennis K. They've gone to plaid! -- Yo

Re: Line continuation in block tag?

2010-05-24 Thread Thomas Allen
Thomas Allen wrote: > Is that possible in a Django template? If my tag spans more than one > line, it is rendered as plaintext. Is this not possible? -- 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

Line continuation in block tag?

2010-05-21 Thread Thomas Allen
Is that possible in a Django template? If my tag spans more than one line, it is rendered as plaintext. Thomas -- 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 fr