replace all occurrences of "'" with "\\'" in the previous result, return the result. decorator function register.filter with an argument is_safe set to boolean True.
@ register . filter ( is_safe = True )