You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -185,8 +185,8 @@ public function testHeadingsWithSpecialCharacters()
185
185
186
186
// Todo: Try to normalize to heading-with-special-characters?
187
187
$this->assertSame(<<<'HTML'
188
-
<h2 id="heading-with-amp-special-lt-gt-quotcharactersquot">Heading with & special < > "characters"<a href="#heading-with-amp-special-lt-gt-quotcharactersquot" class="heading-permalink" title="Permalink"></a></h2>
189
-
<h3 id="heading-with-emojis">Heading with émojis 🎉<a href="#heading-with-emojis" class="heading-permalink" title="Permalink"></a></h3>
188
+
<h2 id="heading-with-amp-special-lt-gt-quotcharactersquot" class="group w-fit">Heading with & special < > "characters"<a href="#heading-with-amp-special-lt-gt-quotcharactersquot" class="heading-permalink opacity-0 ml-1 transition-opacity duration-300 ease-linear px-1 group-hover:opacity-100 focus:opacity-100 group-hover:grayscale-0 focus:grayscale-0" title="Permalink">#</a></h2>
Copy file name to clipboardExpand all lines: packages/framework/tests/Feature/StaticSiteBuilderDocumentationModuleTest.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,7 @@ public function testPageContainsExpectedContent()
44
44
{
45
45
$this->inspectHtml([
46
46
'Adventures in Wonderland',
47
-
'<h2 id="chapter-i-down-the-rabbit-hole">CHAPTER I. DOWN THE RABBIT-HOLE.<a href="#chapter-i-down-the-rabbit-hole" class="heading-permalink" title="Permalink"></a></h2>',
47
+
'<h2 id="chapter-i-down-the-rabbit-hole" class="group w-fit">CHAPTER I. DOWN THE RABBIT-HOLE.<a href="#chapter-i-down-the-rabbit-hole" class="heading-permalink opacity-0 ml-1 transition-opacity duration-300 ease-linear px-1 group-hover:opacity-100 focus:opacity-100 group-hover:grayscale-0 focus:grayscale-0" title="Permalink">#</a></h2>',
48
48
'<p>So she was considering in her own mind, as well as she could',
49
49
]);
50
50
}
@@ -55,7 +55,7 @@ public function testCanCompilePageToRootOutputDirectory()
55
55
56
56
$this->inspectHtml([
57
57
'Adventures in Wonderland',
58
-
'<h2 id="chapter-i-down-the-rabbit-hole">CHAPTER I. DOWN THE RABBIT-HOLE.<a href="#chapter-i-down-the-rabbit-hole" class="heading-permalink" title="Permalink"></a></h2>',
58
+
'<h2 id="chapter-i-down-the-rabbit-hole" class="group w-fit">CHAPTER I. DOWN THE RABBIT-HOLE.<a href="#chapter-i-down-the-rabbit-hole" class="heading-permalink opacity-0 ml-1 transition-opacity duration-300 ease-linear px-1 group-hover:opacity-100 focus:opacity-100 group-hover:grayscale-0 focus:grayscale-0" title="Permalink">#</a></h2>',
59
59
'<p>So she was considering in her own mind, as well as she could',
0 commit comments