MDL-61746 PARAM_CLEANHTML: Fix documentation typos

This commit is contained in:
Rohith 2018-03-26 12:00:33 +05:30
parent a15c745936
commit 0ef25faa73

View File

@ -115,8 +115,8 @@ define('PARAM_CAPABILITY', 'capability');
/**
* PARAM_CLEANHTML - cleans submitted HTML code. Note that you almost never want
* to use this. The normal mode of operation is to use PARAM_RAW when recieving
* the input (required/optional_param or formslib) and then sanitse the HTML
* to use this. The normal mode of operation is to use PARAM_RAW when receiving
* the input (required/optional_param or formslib) and then sanitise the HTML
* using format_text on output. This is for the rare cases when you want to
* sanitise the HTML on input. This cleaning may also fix xhtml strictness.
*/