mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 10:26:40 +02:00
Merge branch 'MDL-37896' of git://github.com/timhunt/moodle
This commit is contained in:
commit
625d5f8164
3 changed files with 9 additions and 7 deletions
|
@ -116,7 +116,11 @@ define('PARAM_BOOL', 'bool');
|
|||
define('PARAM_CAPABILITY', 'capability');
|
||||
|
||||
/**
|
||||
* PARAM_CLEANHTML - cleans submitted HTML code. use only for text in HTML format. This cleaning may fix xhtml strictness too.
|
||||
* 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
|
||||
* 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.
|
||||
*/
|
||||
define('PARAM_CLEANHTML', 'cleanhtml');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue