Elements with display:none sadly trigger the same bug.  Looks like a
custom tag may be in order.

On Jul 7, 12:34 pm, Tom Evans <tevans...@googlemail.com> wrote:
> On Wed, Jul 7, 2010 at 5:25 PM, ringemup <ringe...@gmail.com> wrote:
> > I guess that's a workaround.  It would be a bit less tricky if HTML
> > comments in the wrong place didn't break output in IE6[1] (no, I can't
> > drop IE 6 support yet).
>
> > This behavior just seems odd to me, since other tags with an "as"
> > option ( e.g. {% url ... as ... %}) do not output when they're called.
>
> > [1]http://www.positioniseverything.net/explorer/dup-characters.html
>
> Yes, supporting IE6 is a bore. That bug only triggers inbetween
> floated elements though, so you should be able to work around it, or
> just don't output it there, whack it in something equally innocuous,
> like a display:none div, or as an invalid attribute name.
>
> Cheers
>
> Tom

-- 
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