MDL-61746 PARAM_CLEANHTML: Fix documentation typos

This commit is contained in:
Rohith
2018-04-05 00:43:34 +02:00
committed by Eloy Lafuente (stronk7)
parent 476380749b
commit 551fa309a0
+2 -2
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.
*/