diff --git a/core/modules/filter/src/Tests/TextFormatElementFormTest.php b/core/modules/filter/src/Tests/TextFormatElementFormTest.php
index d317db8e9a6af40e93cde7c8f87686e1ef996e48..f2d682b574003b3b7e71323fc67d4b5c2cc4d518 100644
--- a/core/modules/filter/src/Tests/TextFormatElementFormTest.php
+++ b/core/modules/filter/src/Tests/TextFormatElementFormTest.php
@@ -117,6 +117,10 @@ public function testTextFormatElement() {
$output = $this->render($form);
$this->setRawContent($output);
$this->assertFieldByName('textformat[value]');
+ $this->assertRaw('
Full HTML
');
+ $this->assertRaw('Filtered HTML
');
+ $this->assertRaw('Test format
');
+ $this->assertNoPattern('|]*>
|', 'No empty H4 element found.');
}
/**
diff --git a/core/modules/filter/templates/filter-guidelines.html.twig b/core/modules/filter/templates/filter-guidelines.html.twig
index 4341349e2720b0b8f81ec9ae1d64dcf73249c497..783992bece2d91cf44d47c7390654365c77ebf5a 100644
--- a/core/modules/filter/templates/filter-guidelines.html.twig
+++ b/core/modules/filter/templates/filter-guidelines.html.twig
@@ -26,6 +26,6 @@
]
%}
-
{{ format.name }}
+ {{ format.label }}
{{ tips }}