Skip to content

Commit

Permalink
test: attempt to fix 'htmlTagName' bug in CI on Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
lin-stephanie committed Dec 17, 2024
1 parent 472bbdd commit 5259bfa
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 17 deletions.
35 changes: 19 additions & 16 deletions test/fixtures/htmlTagName/output.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ <h6 class="callout-title">
>
<line x1="18" y1="2" x2="22" y2="6"></line>
<path d="M7.5 20.5 19 9l-4-4L3.5 16.5 2 22z"></path>
</svg></span><span class="callout-title-inner">This is a <em>non-collapsible</em> callout</span>
</svg>
</span>
<div class="callout-title-inner">This is a <em>non-collapsible</em> callout</div>
</h6>
<blockquote class="callout-content">
<p>Some content is displayed directly!</p>
Expand All @@ -43,23 +45,24 @@ <h6 class="callout-title">
stroke-linecap="round"
stroke-linejoin="round"
>
<path
d="m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z"
></path>
<path d="m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z"></path>
<line x1="12" y1="9" x2="12" y2="13"></line>
<line x1="12" y1="17" x2="12.01" y2="17"></line>
</svg></span><span class="callout-title-inner">This is a <strong>collapsible</strong> callout</span
><span class="callout-fold"><svg
xmlns="http://www.w3.org/2000/svg"
width="1em"
height="1em"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
</svg>
</span>
<div class="callout-title-inner">This is a <strong>collapsible</strong> callout</div>
<span class="callout-fold">
<svg
xmlns="http://www.w3.org/2000/svg"
width="1em"
height="1em"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="m6 9 6 6 6-6"></path>
</svg>
</span>
Expand Down
2 changes: 1 addition & 1 deletion test/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,6 @@ run('htmlTagName', {
nonCollapsibleContentTagName: 'blockquote',
collapsibleContentTagName: 'blockquote',
iconTagName: 'span',
titleInnerTagName: 'span',
titleInnerTagName: 'div',
},
})

0 comments on commit 5259bfa

Please sign in to comment.