Bug fix: Template make_text uses text encoding.