diff --git a/core/modules/aggregator/src/Tests/Views/IntegrationTest.php b/core/modules/aggregator/src/Tests/Views/IntegrationTest.php
index bd8f17c..1d263e1 100644
--- a/core/modules/aggregator/src/Tests/Views/IntegrationTest.php
+++ b/core/modules/aggregator/src/Tests/Views/IntegrationTest.php
@@ -76,7 +76,7 @@ public function testAggregatorItemView() {
$values['title'] = $this->randomName();
$values['description'] = $this->randomName();
// Add a image to ensure that the sanitizing can be tested below.
- $values['author'] = $this->randomName() . '"';
+ $values['author'] = $this->randomName() . '
"';
$values['link'] = 'http://drupal.org/node/' . mt_rand(1000, 10000);
$values['guid'] = $this->randomString();
diff --git a/core/modules/basic_auth/src/Tests/Authentication/BasicAuthTest.php b/core/modules/basic_auth/src/Tests/Authentication/BasicAuthTest.php
index 134ddb2..744b7be 100644
--- a/core/modules/basic_auth/src/Tests/Authentication/BasicAuthTest.php
+++ b/core/modules/basic_auth/src/Tests/Authentication/BasicAuthTest.php
@@ -148,7 +148,7 @@ protected function basicAuthGet($path, $username, $password) {
);
$this->verbose('GET request to: ' . $path .
- '
Hello, world!
Hello, world!
' . $this->t('For more information see W3C\'s HTML Specifications or use your favorite search engine to find other sites that explain HTML.', array('@html-specifications' => 'http://www.w3.org/TR/html/')) . '
'; $tips = array( 'a' => array($this->t('Anchors are used to make links to other pages.'), '' . check_plain(\Drupal::config('system.site')->get('name')) . ''), - 'br' => array($this->t('By default line break tags are automatically added, so use this tag to add additional ones. Use of this tag is different because it is not used with an open/close pair like all the others. Use the extra " /" inside the tag to maintain XHTML 1.0 compatibility'), $this->t('Text with' . $this->t('Paragraph one.') . '
' . $this->t('Paragraph two.') . '
'), 'strong' => array($this->t('Strong', array(), array('context' => 'Font weight')), '' . $this->t('Strong', array(), array('context' => 'Font weight')) . ''), 'em' => array($this->t('Emphasized'), '' . $this->t('Emphasized') . ''), diff --git a/core/modules/filter/src/Tests/FilterHtmlImageSecureTest.php b/core/modules/filter/src/Tests/FilterHtmlImageSecureTest.php index c5b5e0d..8dc3c09 100644 --- a/core/modules/filter/src/Tests/FilterHtmlImageSecureTest.php +++ b/core/modules/filter/src/Tests/FilterHtmlImageSecureTest.php @@ -130,7 +130,7 @@ function testImageSource() { $comment[] = $image . ':'; // Hash the image source in a custom test attribute, because it might // contain characters that confuse XPath. - $comment[] = '' . $source . "
\n", 'Line break filter can process very long strings.'); if (!$success) { - $this->verbose("\n" . $source . "\n' . check_plain(var_export($source, TRUE)) . '' - . '
' . check_plain(var_export($result, TRUE)) . '' - . '
' . check_plain(var_export($result, TRUE)) . '' + . '
' . check_plain(var_export($value, TRUE)) . '' ); } diff --git a/core/modules/forum/forum.module b/core/modules/forum/forum.module index 1b9b8f8..523bd87 100644 --- a/core/modules/forum/forum.module +++ b/core/modules/forum/forum.module @@ -674,7 +674,7 @@ function template_preprocess_forums(&$variables) { else { $new_replies = ''; if ($topic->new_replies) { - $new_replies = '
' . check_plain(var_export(array_map('trim', $this->headers), TRUE)) . ''; + $verbose .= '
' . check_plain(var_export(array_map('trim', $this->headers), TRUE)) . ''; } - $verbose .= '
' . check_plain(var_export(array_map('trim', $this->headers), TRUE)) . ''; + $verbose .= '
' . check_plain(var_export(array_map('trim', $this->headers), TRUE)) . ''; } - $verbose .= '
' . check_plain(var_export(array_map('trim', $this->headers), TRUE)) . ''); + '
' . check_plain(var_export(array_map('trim', $this->headers), TRUE)) . ''); } return $out; @@ -3114,9 +3114,9 @@ protected function assertNoTitle($title, $message = '', $group = 'Other') { protected function assertThemeOutput($callback, array $variables = array(), $expected, $message = '', $group = 'Other') { $output = _theme($callback, $variables); $this->verbose('Variables:' . '
' . check_plain(var_export($variables, TRUE)) . '' - . '
' . check_plain(var_export($output, TRUE)) . '' - . '
' . check_plain(var_export($expected, TRUE)) . '' - . '
' . check_plain(var_export($output, TRUE)) . '' + . '
' . check_plain(var_export($expected, TRUE)) . '' + . '
' . check_plain(var_export($original_element, TRUE)) . '' . '
' . check_plain(var_export($element, TRUE)) . '' - . '
' . $this->stringToHtml($html) - . '
' . $this->stringToHtml($result) - . '
' . $this->stringToHtml($text) + . '
' . $this->stringToHtml($result) + . '
' . $this->stringToHtml($text) . ''; $this->verbose($verbose); if (!$pass) { - $this->pass("Previous test verbose info:
Theme hook suggestions:
-{{ theme_hook_suggestions|join("
") }}
Theme hook suggestions:
-{{ theme_hook_suggestions|join("
") }}
' . t('Choose the view and display that select the entities that can be referenced.
Only views with a display of type "Entity Reference" are eligible.') . '
' . t('Choose the view and display that select the entities that can be referenced.
Only views with a display of type "Entity Reference" are eligible.') . '