Use `p` elements to separate paragraphs instead of `br` and enforce single paragraphs to be wrapped in `p` for consistency. Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
15 lines
400 B
HTML
15 lines
400 B
HTML
{{/*
|
|
Renders the "Changed in [version]:" blocks for x-changedInMatrixVersion
|
|
annotations for openapi parameters
|
|
|
|
Takes a single 'changes_dict' parameter, which should be a map of
|
|
version -> details pairs.
|
|
*/ -}}
|
|
{{ range $ver, $details := .changes_dict -}}
|
|
<p>
|
|
<strong>
|
|
Changed in <code>v{{ $ver }}</code>:
|
|
</strong>
|
|
{{ $details | markdownify }}
|
|
</p>
|
|
{{ end -}}
|