- 🇮🇳India sonam.chaturvedi Pune
Patch #16 applied successfully on 10.1.x-dev with one hunk.
Checking patch core/lib/Drupal/Core/Render/Element/HtmlTag.php... Hunk #1 succeeded at 86 (offset -1 lines). Checking patch core/tests/Drupal/Tests/Core/Render/Element/HtmlTagTest.php... Applied patch core/lib/Drupal/Core/Render/Element/HtmlTag.php cleanly. Applied patch core/tests/Drupal/Tests/Core/Render/Element/HtmlTagTest.php cleanly.
- Status changed to RTBC
over 1 year ago 2:36pm 1 March 2023 - Status changed to Needs work
over 1 year ago 11:24am 2 March 2023 - 🇬🇧United Kingdom catch
+++ b/core/lib/Drupal/Core/Render/Element/HtmlTag.php @@ -87,24 +87,32 @@ public static function preRenderHtmlTag($element) { + }
Why add the newline? Shouldn't this be a complete no-op?
Also should there be an assert() when this receives an empty tag? Right now this silently fails.
- First commit to issue fork.
- 🇺🇸United States andy-blum Ohio, USA
Removing @Avanishyadav issue credit for opening empty MR