What is the function of escape ?

 

Report
Question
17 views

Please explain why do you think this question should be reported?

Report Cancel

It gets the current value of an attribute from the model but returns the HTML-escaped version of a model’s attribute.  It is helpful in preventing XSS attacks, if you are interpolating data from the model into HTML
 

Please follow and like us:

About the Author