From c33578d85a6c875d9af9e1391b083a16c14ec1c6 Mon Sep 17 00:00:00 2001 From: Alexander Vodyanoy Date: Thu, 19 May 2016 17:43:04 +0300 Subject: [PATCH] Issue #2546248 by scythian: Use consistent style to mention HTML tags in code comments updates. --- core/includes/theme.inc | 24 +++++++++++----------- core/misc/ajax.js | 10 ++++----- core/misc/tableselect.js | 2 +- core/modules/system/templates/fieldset.html.twig | 23 +++++++++++---------- core/modules/system/templates/region.html.twig | 2 +- core/modules/system/templates/select.html.twig | 4 ++-- core/modules/system/templates/table.html.twig | 3 +-- core/modules/system/templates/textarea.html.twig | 2 +- .../classy/templates/dataset/table.html.twig | 4 ++-- .../classy/templates/form/fieldset.html.twig | 2 +- core/themes/classy/templates/form/select.html.twig | 4 ++-- .../classy/templates/form/textarea.html.twig | 2 +- .../classy/templates/layout/region.html.twig | 2 +- core/themes/seven/css/components/tables.css | 2 +- .../templates/admin/field-ui-table.html.twig | 4 ++-- .../stable/templates/dataset/table.html.twig | 4 ++-- 16 files changed, 47 insertions(+), 47 deletions(-) diff --git a/core/includes/theme.inc b/core/includes/theme.inc index 646e428..879b71c 100644 --- a/core/includes/theme.inc +++ b/core/includes/theme.inc @@ -596,7 +596,7 @@ function template_preprocess_datetime_wrapper(&$variables) { * * Unfortunately links templates duplicate the "active" class handling of l() * and LinkGenerator::generate() because it needs to be able to set the "active" - * class not on the links themselves ("a" tags), but on the list items ("li" + * class not on the links themselves ( tags), but on the list items (
  • * tags) that contain the links. This is necessary for CSS to be able to style * list items differently when the link is active, since CSS does not yet allow * one to style list items only if it contains a certain element with a certain @@ -656,7 +656,7 @@ function template_preprocess_links(&$variables) { if (!empty($links)) { // Prepend the heading to the list, if any. if (!empty($heading)) { - // Convert a string heading into an array, using a H2 tag by default. + // Convert a string heading into an array, using a

    tag by default. if (is_string($heading)) { $heading = array('text' => $heading); } @@ -858,28 +858,28 @@ function template_preprocess_image(&$variables) { * - colgroups: An array of column groups. Each element of the array can be * either: * - An array of columns, each of which is an associative array of HTML - * attributes applied to the COL element. - * - An array of attributes applied to the COLGROUP element, which must - * include a "data" attribute. To add attributes to COL elements, set the + * attributes applied to the element. + * - An array of attributes applied to the element, which must + * include a "data" attribute. To add attributes to elements, set the * "data" attribute with an array of columns, each of which is an * associative array of HTML attributes. * Here's an example for $colgroup: * @code * $colgroup = array( - * // COLGROUP with one COL element. + * // with one element. * array( * array( - * 'class' => array('funky'), // Attribute for the COL element. + * 'class' => array('funky'), // Attribute for the element. * ), * ), - * // Colgroup with attributes and inner COL elements. + * // with attributes and inner elements. * array( * 'data' => array( * array( - * 'class' => array('funky'), // Attribute for the COL element. + * 'class' => array('funky'), // Attribute for the element. * ), * ), - * 'class' => array('jazzy'), // Attribute for the COLGROUP element. + * 'class' => array('jazzy'), // Attribute for the element. * ), * ); * @endcode @@ -1157,7 +1157,7 @@ function template_preprocess_container(&$variables) { * An associative array containing: * - items: An associative array of maintenance tasks. * It's the caller's responsibility to ensure this array's items contain no - * dangerous HTML such as SCRIPT tags. + * dangerous HTML such as