def autoescape(context, nodelist, setting):
old_setting = context.autoescape<EOL>context.autoescape = setting<EOL>output = nodelist.render(context)<EOL>context.autoescape = old_setting<EOL>if setting:<EOL><INDENT>return mark_safe(output)<EOL><DEDENT>else:<EOL><INDENT>return output<EOL><DEDENT>
Force autoescape behaviour for this block.