Skip to content

Commit d790792

Browse files
Disable doctype-first for HTML fragments
Mark module catalog row/table templates as HTMLHint fragments so doctype-first does not fail on partial templates that are intentionally embedded snippets. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
1 parent 746c24d commit d790792

4 files changed

Lines changed: 4 additions & 1 deletion

File tree

.github/actions/update-index/templates/module-catalog/v1-row.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!-- htmlhint doctype-first:false -->
12
<tr>
23
<td><a href="https://github.com/{{ OWNER }}/{{ NAME }}">{{ NAME }}</a></td>
34
<td>{{ DESCRIPTION }}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!-- htmlhint doctype-first:false -->
12

23
<table>
34
<tr>
@@ -6,4 +7,3 @@
67
<th width="10%">Version</th>
78
</tr>
89
{{ ROWS }}</table>
9-

.github/actions/update-index/templates/module-catalog/v2-row.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!-- htmlhint doctype-first:false -->
12
<tr>
23
<td><a href="{{ MODULE_PAGE_LINK }}" title="{{ TITLE_SUMMARY }}">{{ NAME }}</a></td>
34
<td><code>{{ VERSION }}</code></td>

.github/actions/update-index/templates/module-catalog/v2-table.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!-- htmlhint doctype-first:false -->
12

23
<table>
34
<tr>

0 commit comments

Comments
 (0)