docs-matrix-spec/layouts/shortcodes
Kévin Commaille 5fbfdd6821
Fix generated HTML (#1880)
* 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>

* Remove unnecessary HTML code end tag

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>

* Avoid nesting p HTML elements

A p HTML element cannot contain other block elements,
so the "parent" element is closed when the first "child" one is opened.

We need to use Page.RenderString with options
to force Hugo to keep the wrapping p elements
even if the content contains a single paragraph.

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>

* Add missing HTML details end tags

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>

* Replace HTML a self-closing tag with start and end tags

The a element start and end tags are mandatory.

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>

* Replace obsolete HTML name attribute with id

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>

* Add changelog

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
2024-06-20 09:42:40 +01:00
..
boxes Add CORP headers to media repo (#1197) 2022-08-09 10:44:51 -06:00
changelog Generate ToC with Hugo rather than JavaScript (#1851) 2024-06-11 22:24:23 +01:00
added-in.html clarify federation Authorization header an add destination property (#1067) 2022-05-30 15:33:56 -06:00
changed-in.html clarify federation Authorization header an add destination property (#1067) 2022-05-30 15:33:56 -06:00
cs-module.html Generate ToC with Hugo rather than JavaScript (#1851) 2024-06-11 22:24:23 +01:00
definition.html Fix generated HTML (#1880) 2024-06-20 09:42:40 +01:00
event-fields.html Simplify uses of resolve-refs partial (#1773) 2024-04-09 18:06:53 +01:00
event-group.html Fix event-group shortcode for changes in resolve-refs partial (#1754) 2024-03-19 19:02:13 +00:00
event.html Add support for $ref URIs containing fragments in OpenAPI definitions and JSON schemas (#1751) 2024-03-19 14:50:49 +00:00
http-api.html Make resolve-allof partial recursive (#1787) 2024-04-17 09:29:34 +01:00
msgtypes.html Add support for $ref URIs containing fragments in OpenAPI definitions and JSON schemas (#1751) 2024-03-19 14:50:49 +00:00
proposal-tables.html Fix tab/spaces mix 2021-08-27 19:16:42 +01:00
rver-fragment.html Stop rendering CS modules and room version fragments as standalone pages (#1317) 2022-11-08 17:27:44 +00:00
sas-emojis.html Replace sas-emojis template 2021-01-22 14:31:39 -08:00