Skip to content

Commit 3b298ec

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 2bf9cf0 commit 3b298ec

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
@@ -303,7 +303,7 @@ jobs:
303303
if: ${{ !inputs.skip_linkcheck && always() }}
304304
run: |
305305
echo "<details>" >> $GITHUB_STEP_SUMMARY
306-
echo "<summary><h2>Link Checker Results</h2></summary>" >> $GITHUB_STEP_SUMMARY
306+
echo "<summary><strong>Link Checker Results</strong></summary>" >> $GITHUB_STEP_SUMMARY
307307
echo "" >> $GITHUB_STEP_SUMMARY
308308
if [ -f "html-link-report.md" ]; then
309309
# Extract summary stats from the report

0 commit comments

Comments
 (0)