Skip to content
Snippets Groups Projects
Unverified Commit ae16bcd7 authored by Lauri Timmanee's avatar Lauri Timmanee
Browse files

Issue #3255895 by jrb, murilohp, harshitthakore, lauriii, xjm: HTML entities...

Issue #3255895 by jrb, murilohp, harshitthakore, lauriii, xjm: HTML entities in Tour tip labels get double-escaped
parent 47109d1e
No related branches found
No related tags found
16 merge requests!8394[warning] array_flip(): Can only flip STRING and INTEGER values, when saving a non-revisionable custom content entity,!7780issue 3443822: fix for 'No route found for the specified format html. Supported formats: json, xml.',!5013Issue #3071143: Table Render Array Example Is Incorrect,!4848Issue #1566662: Update module should send notifications on Thursdays,!4792Issue #2230689: Remove redundant "Italic" style,!4220Issue #3368223: Link field > Access to internal links is not checked on display.,!3884Issue #3356842,!3870Issue #3087868,!3812Draft: Issue #3339373 by alexpott, andypost, mondrake:...,!3686Issue #3219967 against 9.5.x,!3683Issue #2939397: Clearing AliasManager cache with root path raises warning,!3543Issue #3344259: Allow ajax dialog to have focus configurable,!2205Quote all names in the regions section.,!1459Issue #3087632: menu_name max length is too long,!866Issue #2845319: The highlighting of the 'Home' menu-link does not respect query strings and fragment identifiers,!204Issue #3040556: It is not possible to react to an entity being duplicated
......@@ -60,7 +60,7 @@ public function viewMultiple(array $entities = [], $view_mode = 'full', $langcod
$body = (string) \Drupal::service('renderer')->renderPlain($body_render_array);
$output = [
'body' => $body,
'title' => Html::escape($tip->getLabel()),
'title' => $tip->getLabel(),
];
$selector = $tip->getSelector();
......
......@@ -158,7 +158,7 @@ public function testTourFunctionality() {
'tour-test-1' => [
'id' => 'tour-code-test-1',
'plugin' => 'text',
'label' => 'The rain in spain',
'label' => 'The rain in spain is <strong>strong</strong>',
'body' => 'Falls mostly on the plain.',
'weight' => '100',
'selector' => '#tour-code-test-1',
......@@ -194,7 +194,7 @@ public function testTourFunctionality() {
$elements = $this->findTip([
'id' => 'tour-code-test-1',
'title' => 'The rain in spain',
'title' => 'The rain in spain is <strong>strong</strong>',
]);
$this->assertCount(1, $elements, 'Found the required tip markup for tip 4');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment