mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-23 11:34:09 +01:00
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>
This commit is contained in:
parent
37855783b9
commit
9bb0ecc9d4
|
|
@ -46,7 +46,7 @@
|
|||
{{ partial "changed-in" (dict "changes_dict" (index $operation_data "x-changedInMatrixVersion")) }}
|
||||
{{ end -}}
|
||||
|
||||
<p>{{ $operation_data.description | markdownify }}</p>
|
||||
{{ $operation_data.description | page.RenderString (dict "display" "block") }}
|
||||
|
||||
|
||||
<table class="basic-info">
|
||||
|
|
|
|||
Loading…
Reference in a new issue