Skip to content

Commit 512f210

Browse files
fix: use valid HTML in summary element
Replace <h2> with <strong> inside <summary> for valid HTML structure. Block-level elements are not allowed inside <summary>.
1 parent 88681f1 commit 512f210

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ jobs:
340340
if: ${{ !inputs.skip_linkcheck && always() }}
341341
run: |
342342
echo "<details>" >> $GITHUB_STEP_SUMMARY
343-
echo "<summary><h2>Link Checker Results</h2></summary>" >> $GITHUB_STEP_SUMMARY
343+
echo "<summary><strong>Link Checker Results</strong></summary>" >> $GITHUB_STEP_SUMMARY
344344
echo "" >> $GITHUB_STEP_SUMMARY
345345
if [ -f "html-link-report.md" ]; then
346346
# Extract summary stats from the report (lychee markdown format uses "- [Status]")

0 commit comments

Comments
 (0)