diff --git a/core/modules/filter/filter.admin-rtl.css b/core/modules/filter/filter.admin-rtl.css index 9fa9f42..c49481b 100644 --- a/core/modules/filter/filter.admin-rtl.css +++ b/core/modules/filter/filter.admin-rtl.css @@ -1,7 +1,7 @@ /** * @file - * RTL admin styling for the filter module. + * RTL admin styling for the Filter module. */ /** diff --git a/core/modules/filter/filter.admin.css b/core/modules/filter/filter.admin.css index d6004d5..fdb2eff 100644 --- a/core/modules/filter/filter.admin.css +++ b/core/modules/filter/filter.admin.css @@ -1,7 +1,7 @@ /** * @file - * Admin styling for the filter module. + * Admin styling for the Filter module. */ /** diff --git a/core/modules/filter/filter.admin.inc b/core/modules/filter/filter.admin.inc index 96b8e29..57468ad 100644 --- a/core/modules/filter/filter.admin.inc +++ b/core/modules/filter/filter.admin.inc @@ -101,8 +101,8 @@ function theme_filter_admin_overview($variables) { /** * Page callback: Displays the text format add/edit form. * - * @param $format - * A format object having the properties: + * @param object|null $format + * (optional) An object representing a format, with the following properties: * - format: A machine-readable name representing the ID of the text format * to save. If this corresponds to an existing text format, that format * will be updated; otherwise, a new format will be created. @@ -135,9 +135,9 @@ function filter_admin_format_page($format = NULL) { * * @param $format * A format object having the properties: - * - format: A machine-readable name representing the ID of the text format - * to save. If this corresponds to an existing text format, that format - * will be updated; otherwise, a new format will be created. + * - format: A machine-readable name representing the ID of the text format to + * save. If this corresponds to an existing text format, that format will be + * updated; otherwise, a new format will be created. * - name: The title of the text format. * - cache: An integer indicating whether the text format is cacheable (1) or * not (0). Defaults to 1. diff --git a/core/modules/filter/filter.test b/core/modules/filter/filter.test index ad33b29..ecdb056 100644 --- a/core/modules/filter/filter.test +++ b/core/modules/filter/filter.test @@ -1112,10 +1112,8 @@ class FilterUnitTestCase extends DrupalUnitTestCase { * functionality is not completely focused on filtering. Some ideas: * restricting formats according to user permissions, proper cache * handling, defaults -- allowed tags/attributes/protocols. - * * @todo It is possible to add script, iframe etc. to allowed tags, but this * makes HTML filter completely ineffective. - * * @todo Class, id, name and xmlns should be added to disallowed attributes, * or better a whitelist approach should be used for that too. */