diff --git a/core/lib/Drupal/Component/Utility/Html.php b/core/lib/Drupal/Component/Utility/Html.php index 91c1435..be45575 100644 --- a/core/lib/Drupal/Component/Utility/Html.php +++ b/core/lib/Drupal/Component/Utility/Html.php @@ -426,9 +426,10 @@ public static function escape($text) { * Therefore relative URLs that are not root-relative cannot be safely * transformed and should generally be avoided. * - * Necessary for HTML that is served outside of a website: RSS, e-mail … + * Necessary for HTML that is served outside of a website, for example, RSS + * and e-mail. * - * @param string $html. + * @param string $html * The partial (X)HTML snippet to load. Invalid markup will be corrected on * import. * @param string $scheme_and_host diff --git a/core/lib/Drupal/Core/EventSubscriber/RssResponseRelativeUrlFilter.php b/core/lib/Drupal/Core/EventSubscriber/RssResponseRelativeUrlFilter.php index fbdb3d2..9a50709 100644 --- a/core/lib/Drupal/Core/EventSubscriber/RssResponseRelativeUrlFilter.php +++ b/core/lib/Drupal/Core/EventSubscriber/RssResponseRelativeUrlFilter.php @@ -1,10 +1,5 @@ 'full_html', ], ]); - $protocol_relative_url= substr(file_create_url('public://protocol-relative'), strlen(\Drupal::request()->getScheme() . ':')); + $protocol_relative_url = substr(file_create_url('public://protocol-relative'), strlen(\Drupal::request()->getScheme() . ':')); $this->drupalCreateNode($defaults + [ 'body' => [ 'value' => '
',