This seems to be an encoding issue with the text editor I was using. I saved the file in notepad as dir_details.html and the problem disappeared.
On Jan 22, 11:46 pm, Zeynel <azeyn...@gmail.com> wrote: > class TemplateHandler(webapp.RequestHandler): > def get(self): > greeting = "hello" > > template_values = { > 'greeting': greeting, > } > > path = os.path.join(os.path.dirname(__file__), > 'dir_details.html') > self.response.out.write(template.render(path, > template_values)) > > And this is the dir_details.html: > > <html> > <body> > <p>Render template</p> > {{ greeting }} > </body> > </html> > > The template prints as html: > > < html> < body> < p>Render template< /p> {{ greeting }} < /body> < / > html> > > Any suggestions why this is hapenning? -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.