mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-23 11:34:09 +01:00
Add tr as child of thead in HTML tables
It is invalid HTML for th to be the direct children of thead Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
parent
4e32fca05f
commit
3d24029c00
|
|
@ -16,8 +16,10 @@
|
|||
|
||||
<table class="content-type-table">
|
||||
<thead>
|
||||
<th class="col-name">Content-Type</th>
|
||||
<th class="col-description">Description</th>
|
||||
<tr>
|
||||
<th class="col-name">Content-Type</th>
|
||||
<th class="col-description">Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
{{ range $idx, $content_type := $content_types }}
|
||||
<tr>
|
||||
|
|
|
|||
|
|
@ -31,9 +31,11 @@
|
|||
<caption>{{ . }}</caption>
|
||||
{{ end }}
|
||||
<thead>
|
||||
<th class="col-name">Name</th>
|
||||
<th class="col-type">Type</th>
|
||||
<th class="col-description">Description</th>
|
||||
<tr>
|
||||
<th class="col-name">Name</th>
|
||||
<th class="col-type">Type</th>
|
||||
<th class="col-description">Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
{{ range $property_name, $property := $properties }}
|
||||
|
|
@ -90,8 +92,10 @@ resolve-additional-types.)
|
|||
<caption>{{ . }}</caption>
|
||||
{{ end }}
|
||||
<thead>
|
||||
<th class="col-type">Type</th>
|
||||
<th class="col-description">Description</th>
|
||||
<tr>
|
||||
<th class="col-type">Type</th>
|
||||
<th class="col-description">Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
{{ $property := . }}
|
||||
|
|
|
|||
|
|
@ -20,8 +20,10 @@
|
|||
|
||||
<table class="response-table">
|
||||
<thead>
|
||||
<th class="col-status">Status</th>
|
||||
<th class="col-status-description">Description</th>
|
||||
<tr>
|
||||
<th class="col-status">Status</th>
|
||||
<th class="col-status-description">Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
{{ range $code, $response := $responses }}
|
||||
|
|
|
|||
Loading…
Reference in a new issue