diff --git a/core/modules/filter/src/Tests/TextFormatElementFormTest.php b/core/modules/filter/src/Tests/TextFormatElementFormTest.php index d317db8e9a6a..f2d682b57400 100644 --- a/core/modules/filter/src/Tests/TextFormatElementFormTest.php +++ b/core/modules/filter/src/Tests/TextFormatElementFormTest.php @@ -117,6 +117,10 @@ class TextFormatElementFormTest extends KernelTestBase implements FormInterface $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 4341349e2720..783992bece2d 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 }}