Q&A
Ask and answer questions to make information more available to wider audiences.
Colt Ocinican @ocinicancolt   30, Mar 2023 12:00 AM
Function of escape
What is the function of escape?
answers 1
 
Answer 1
Carlos Longbow @carloslongbow   31, Mar 2023 11:11 AM
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.