diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 68176cc45a49772e411caf4a8c6e520a30093c7a..ed72907baa78aa0eeb230ab2487318993059bde4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,6 +10,7 @@ variables: OPT_IN_TEST_NEXT_MINOR: 1 OPT_IN_TEST_NEXT_MAJOR: 0 RUN_JOB_UPGRADE_STATUS: 0 + _CSPELL_WORDS: 'rockowitz, selectmenu, spécial, strto, tocs' cspell: allow_failure: false phpcs: diff --git a/templates/toc-menu.html.twig b/templates/toc-menu.html.twig index 65b970a39c356e70e5d6e341e8d0e8f928b30969..92646f0a9c0f3283ef424a4ecae5ff3394055723 100644 --- a/templates/toc-menu.html.twig +++ b/templates/toc-menu.html.twig @@ -9,7 +9,7 @@ * - index: List of header items. Each header item contains: * - prefix: The header option prefix. Either indentation or the complete path. * - title: The header title. - * - url: The header fragrment (ie hash) URL, instance of \Drupal\Core\Url. + * - url: The header fragment (ie hash) URL, instance of \Drupal\Core\Url. * * @ingroup themeable */ diff --git a/templates/toc-tree.html.twig b/templates/toc-tree.html.twig index e582d62423087f9c06382d6c39f685b4aacef703..09d591474e009851f8d9cebedbde6bd34278400e 100644 --- a/templates/toc-tree.html.twig +++ b/templates/toc-tree.html.twig @@ -13,7 +13,7 @@ * - attributes: HTML attributes for the table of contents or list item. * - below: The table of contents child items. * - title: The table of contents or header title. - * - url: The header fragrment (ie hash) URL, instance of \Drupal\Core\Url. + * - url: The header fragment (ie hash) URL, instance of \Drupal\Core\Url. * * @ingroup themeable */ diff --git a/tests/src/Kernel/TocManagerTest.php b/tests/src/Kernel/TocManagerTest.php index 0f30ed7119f990e36fa3fc0032f2691824251546..edf9d24805783aae79006489c9045e5c128ccd82 100755 --- a/tests/src/Kernel/TocManagerTest.php +++ b/tests/src/Kernel/TocManagerTest.php @@ -140,7 +140,7 @@ class TocManagerTest extends KernelTestBase { $this->assertRaw('<ol class="none">'); $render_content($toc); - // Check unorder list when type = FALSE. + // Check unordered list when type = FALSE. $options = [ 'number_path' => FALSE, 'default' => [