diff --git a/core/modules/tour/src/TourViewBuilder.php b/core/modules/tour/src/TourViewBuilder.php
index 83535172dce..f7226109ad3 100644
--- a/core/modules/tour/src/TourViewBuilder.php
+++ b/core/modules/tour/src/TourViewBuilder.php
@@ -43,7 +43,7 @@ class TourViewBuilder extends EntityViewBuilder {
$body = (string) \Drupal::service('renderer')->renderPlain($body_render_array);
$output = [
'body' => $body,
- 'title' => Html::escape($tip->getLabel()),
+ 'title' => $tip->getLabel(),
];
$selector = $tip->getSelector();
diff --git a/core/modules/tour/tests/src/Functional/TourTest.php b/core/modules/tour/tests/src/Functional/TourTest.php
index 32e958dbbd6..aaf2a781a28 100644
--- a/core/modules/tour/tests/src/Functional/TourTest.php
+++ b/core/modules/tour/tests/src/Functional/TourTest.php
@@ -158,7 +158,7 @@ class TourTest extends TourTestBasic {
'tour-test-1' => [
'id' => 'tour-code-test-1',
'plugin' => 'text',
- 'label' => 'The rain in spain',
+ 'label' => 'The rain in spain is strong',
'body' => 'Falls mostly on the plain.',
'weight' => '100',
'selector' => '#tour-code-test-1',
@@ -194,7 +194,7 @@ class TourTest extends TourTestBasic {
$elements = $this->findTip([
'id' => 'tour-code-test-1',
- 'title' => 'The rain in spain',
+ 'title' => 'The rain in spain is strong',
]);
$this->assertCount(1, $elements, 'Found the required tip markup for tip 4');