From 7a61eb6f11e33a1efefdfb1ad79bbe44fd91dc31 Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Tue, 23 Apr 2013 14:22:28 +0530 Subject: [PATCH] [website] [message.html template] fixes --- templates/pages/message.html | 2 +- webnotes/webutils.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/pages/message.html b/templates/pages/message.html index 79b76bc63a..25c97d0ce1 100644 --- a/templates/pages/message.html +++ b/templates/pages/message.html @@ -2,7 +2,7 @@ {% set title=webnotes.message_title %} -{% block block %} +{% block body %}
{{ webnotes.message }} diff --git a/webnotes/webutils.py b/webnotes/webutils.py index 2eb7dbd15a..3a3b848e11 100644 --- a/webnotes/webutils.py +++ b/webnotes/webutils.py @@ -17,7 +17,7 @@ def render(page_name): html = get_html('error') from webnotes.handler import eprint, print_zip - eprint("Content-Type: text/html") + eprint("Content-Type: text/html; charset: utf-8") print_zip(html) def get_html(page_name):