diff --git a/core/modules/filter/src/Tests/FilterUnitTest.php b/core/modules/filter/src/Tests/FilterUnitTest.php
index 3e87393..2c2a5c9 100644
--- a/core/modules/filter/src/Tests/FilterUnitTest.php
+++ b/core/modules/filter/src/Tests/FilterUnitTest.php
@@ -118,7 +118,7 @@ function testCaptionFilter() {
// Data-caption attribute.
$input = '';
- $expected = '';
+ $expected = '';
$output = $test($input);
$this->assertIdentical($expected, $output->getProcessedText());
$this->assertIdentical($attached_library, $output->getAssets());
@@ -130,14 +130,14 @@ function testCaptionFilter() {
// HTML entities in the caption.
$input = '';
- $expected = '';
+ $expected = '';
$output = $test($input);
$this->assertIdentical($expected, $output->getProcessedText());
$this->assertIdentical($attached_library, $output->getAssets());
// HTML encoded as HTML entities in data-caption attribute.
$input = '';
- $expected = '';
+ $expected = '';
$output = $test($input);
$this->assertIdentical($expected, $output->getProcessedText());
$this->assertIdentical($attached_library, $output->getAssets());
@@ -146,33 +146,33 @@ function testCaptionFilter() {
// not allowed by the HTML spec, but may happen when people manually write
// HTML, so we explicitly support it.
$input = '';
- $expected = '';
+ $expected = '';
$output = $test($input);
$this->assertIdentical($expected, $output->getProcessedText());
$this->assertIdentical($attached_library, $output->getAssets());
// Security test: attempt an XSS.
$input = '';
- $expected = '';
+ $expected = '';
$output = $test($input);
$this->assertIdentical($expected, $output->getProcessedText());
$this->assertIdentical($attached_library, $output->getAssets());
// Ensure the filter also works with uncommon yet valid attribute quoting.
$input = '';
- $expected = '';
+ $expected = '';
$output = $test($input);
$this->assertIdentical($expected, $output->getProcessedText());
$this->assertIdentical($attached_library, $output->getAssets());
// Finally, ensure that this also works on any other tag.
$input = '';
- $expected = '';
+ $expected = '';
$output = $test($input);
$this->assertIdentical($expected, $output->getProcessedText());
$this->assertIdentical($attached_library, $output->getAssets());
$input = 'baz';
- $expected = '';
+ $expected = '';
$output = $test($input);
$this->assertIdentical($expected, $output->getProcessedText());
$this->assertIdentical($attached_library, $output->getAssets());
@@ -198,17 +198,17 @@ function testAlignAndCaptionFilters() {
// Both data-caption and data-align attributes: all 3 allowed values for the
// data-align attribute.
$input = '';
- $expected = '';
+ $expected = '';
$output = $test($input);
$this->assertIdentical($expected, $output->getProcessedText());
$this->assertIdentical($attached_library, $output->getAssets());
$input = '';
- $expected = '';
+ $expected = '';
$output = $test($input);
$this->assertIdentical($expected, $output->getProcessedText());
$this->assertIdentical($attached_library, $output->getAssets());
$input = '';
- $expected = '';
+ $expected = '';
$output = $test($input);
$this->assertIdentical($expected, $output->getProcessedText());
$this->assertIdentical($attached_library, $output->getAssets());
@@ -216,7 +216,7 @@ function testAlignAndCaptionFilters() {
// Both data-caption and data-align attributes, but a disallowed data-align
// attribute value.
$input = '';
- $expected = '';
+ $expected = '';
$output = $test($input);
$this->assertIdentical($expected, $output->getProcessedText());
$this->assertIdentical($attached_library, $output->getAssets());
diff --git a/core/modules/filter/src/Tests/TextFormatElementFormTest.php b/core/modules/filter/src/Tests/TextFormatElementFormTest.php
index f2d682b..b889c4a 100644
--- a/core/modules/filter/src/Tests/TextFormatElementFormTest.php
+++ b/core/modules/filter/src/Tests/TextFormatElementFormTest.php
@@ -117,9 +117,9 @@ 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->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-caption.html.twig b/core/modules/filter/templates/filter-caption.html.twig
index eb9d248..f015ac0 100644
--- a/core/modules/filter/templates/filter-caption.html.twig
+++ b/core/modules/filter/templates/filter-caption.html.twig
@@ -12,7 +12,7 @@
* - string classes: The classes of the captioned HTML tag.
*/
#}
-