Problem is solved. For utf-8 encoded templates you should avoid using BOM (byte order mark). Just turned it off in Komodo Edit and now everything is okay.
On Dec 25, 1:50 am, gryzzly <mrejz...@gmail.com> wrote: > hi, > while working on templates weird problem occured: > > when templates are being rendered (i guess), in code, right before the > doctype, strange character is being placed. I call it "strange" > because if I select it, copy it and try to paste nothing is pasted. > This "dot" is seen only if I do "view source" in webkit browsers. > > now, layout breaks. > > while checking rendered code in internet explorer web developer > toolbar, I've seen that also doctype is pasted within body tag, so I > have an impression that both, opening and closing, head tags are > somehow being ignored. > (i've checked it now and yes, If I take out opening and closing head > tags from my template, that is exactly what happens). > > that's how this strange character looks in webkit's view source: > <img src="http://i47.tinypic.com/osu905.png" alt="image"> > > this is rendered code in ie web developer toolbar: > <img src="http://i48.tinypic.com/noby81.gif" alt="image"> > > please help! -- 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.