Commit 7558e1de authored by webchick's avatar webchick
Browse files

#473992 by andypost: Fix indentation.

parent 7b7c9a8c
...@@ -409,20 +409,20 @@ function filter_list_format($format) { ...@@ -409,20 +409,20 @@ function filter_list_format($format) {
* Run all the enabled filters on a piece of text. * Run all the enabled filters on a piece of text.
* *
* @param $text * @param $text
* The text to be filtered. * The text to be filtered.
* @param $format * @param $format
* The format of the text to be filtered. Specify FILTER_FORMAT_DEFAULT for * The format of the text to be filtered. Specify FILTER_FORMAT_DEFAULT for
* the default format. * the default format.
* @param $langcode * @param $langcode
* Optional: the language code of the text to be filtered, e.g. 'en' for * Optional: the language code of the text to be filtered, e.g. 'en' for
* English. This allows filters to be language aware so language specific * English. This allows filters to be language aware so language specific
* text replacement can be implemented. * text replacement can be implemented.
* @param $check * @param $check
* Whether to check the $format with filter_access() first. Defaults to TRUE. * Whether to check the $format with filter_access() first. Defaults to TRUE.
* Note that this will check the permissions of the current user, so you * Note that this will check the permissions of the current user, so you
* should specify $check = FALSE when viewing other people's content. When * should specify $check = FALSE when viewing other people's content. When
* showing content that is not (yet) stored in the database (eg. upon preview), * showing content that is not (yet) stored in the database (eg. upon preview),
* set to TRUE so the user's permissions are checked. * set to TRUE so the user's permissions are checked.
*/ */
function check_markup($text, $format = FILTER_FORMAT_DEFAULT, $langcode = '', $check = TRUE) { function check_markup($text, $format = FILTER_FORMAT_DEFAULT, $langcode = '', $check = TRUE) {
// When $check = TRUE, do an access check on $format. // When $check = TRUE, do an access check on $format.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment