move call to print_unescaped() to template