small fix to the template_debug stuff, it was dropping last characters and didn't split the first line correctly
small fix to the template_debug stuff, it was dropping last characters and didn't split the first line correctly


git-svn-id: 4f9f921b081c523744c7bf24d959a0db39629563@1403 bcc190cf-cafb-0310-a4f2-bffc1f526a37

jamespacileo/django-france,dcramer/django-compositepks,bfirsh/django-old,disqus/django-old,mitsuhiko/django,alex/django-old,mitsuhiko/django,t11e/django,Smarsh/django,Smarsh/django,Instagram/django,skevy/django,alex/django-old,t11e/django,Smarsh/django,sam-tsai/django-old,rawwell/django,hugs/django,jamespacileo/django-france,t11e/django,jamespacileo/django-france,skevy/django,disqus/django-old,hugs/django,Instagram/django,alex/django-old,dcramer/django-compositepks,bfirsh/django-old,sam-tsai/django-old,bfirsh/django-old,django-nonrel/django-nonrel,django-nonrel/django-nonrel,hugs/django,mitsuhiko/django,dcramer/django-compositepks,sam-tsai/django-old,django-nonrel/django-nonrel,skevy/django,Instagram/django,disqus/django-old,rawwell/django,Smarsh/django,sam-tsai/django-old,rawwell/django