Skip to content

Commit 82f37be

Browse files
authored
Merge pull request #2172 from hydephp/dependabot/composer/league/commonmark-2.7.0
Bump league/commonmark from 2.6.0 to 2.7.0
2 parents 88c9f28 + a79985f commit 82f37be

File tree

2 files changed

+16
-13
lines changed

2 files changed

+16
-13
lines changed

composer.lock

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/framework/tests/Feature/Actions/GeneratesSidebarTableOfContentsTest.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,9 @@ protected function assertSameIgnoringIndentation(string $expected, string $actua
240240

241241
protected function removeIndentation(string $actual): string
242242
{
243-
return implode("\n", array_map('trim', explode("\n", $actual)));
243+
$normalized = implode("\n", array_map('trim', explode("\n", $actual)));
244+
$normalized = preg_replace('/>\s*</', '><', $normalized);
245+
246+
return $normalized;
244247
}
245248
}

0 commit comments

Comments
 (0)