parameters: (value)
return_statement: return mark_safe(value)
docstring: Returns the given HTML with single and double quotes escpaed with \ for a JS context
docstring_summary: Returns the given HTML with single and double quotes escpaed with \ for a JS context
docstring_tokens: Returns the given HTML with single and double quotes escpaed with \ for a JS context
function: def escape_quotes(value):
  	"""
  	Returns the given HTML with single and double quotes escpaed with \ for a JS context
  	"""
  	value = value.replace("'", "\\'")
  	value = value.replace('"', '\\"')
  	return mark_safe(value)
function_tokens: def escape_quotes ( value ) : value = value . replace ( "'" , "\\'" ) value = value . replace ( '"' , '\\"' ) return mark_safe ( value )