I found the relative content about this problem from doc in jinja's home: http://jinja.pocoo.org/docs/tricks/#null-master-fallback
it is to say, all contents before first 'extend' appear will be print out, so the BOM of child templates was printed. Now I am sure this is bug of jinja2, or maybe the author doesn't agree with me. Perhaps I should post this to him. 在 2014年7月11日星期五UTC+8上午12时39分39秒,Zarey Chang写道: > > That's wierd, my templates file(index.html, blog.html, base.html......) > uploaded on GAE, but , check link below: > (url include THE number) > 1.yunzlog.appspot.com > 2.yunzlog.appspot.com > > both instance use very same code, the only difference is : > * base.html saved in UTF8 or ANSI * > *(1.yunzlog.appspot.com <http://1.yunzlog.appspot.com> saved in ANSI, > 2.yunzlog.appspot.com <http://2.yunzlog.appspot.com> in UTF8)* > > is this difference related with jinja2? or I missed something. > > -- You received this message because you are subscribed to the Google Groups "pocoo-libs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/pocoo-libs. For more options, visit https://groups.google.com/d/optout.
