id,summary,reporter,owner,description,type,status,component,version,severity,resolution,keywords,cc,stage,has_patch,needs_docs,needs_tests,needs_better_patch,easy,ui_ux 21061,is_safe filter flag,justincapella@…,polmuz,"From django/template/base.py:resolve [code] if getattr(func, 'is_safe', False) and isinstance(obj, SafeData): obj = mark_safe(new_obj) [/code] The isinstance(obj, SafeData) seems to prevent is_safe flag from having any affect on the output. Thinking of the use cases we have some function/tag that we want to either have mark_safe called on, or not called on. imo, this should just be [code] if getattr(func, 'is_safe', False): obj = mark_safe(new_obj) [/code] This allows is_safe to have an effect on the outcome... which the current code does not.",Bug,closed,Template system,1.5,Normal,invalid,,,Unreviewed,0,0,0,0,0,0