diff --git a/changelogs/internal/newsfragments/2006.clarification b/changelogs/internal/newsfragments/2006.clarification new file mode 100644 index 000000000..d535a8fbb --- /dev/null +++ b/changelogs/internal/newsfragments/2006.clarification @@ -0,0 +1 @@ +Fix `changed-in` partial when used with multiple paragraphs. diff --git a/layouts/partials/changed-in.html b/layouts/partials/changed-in.html index 61aba5b1e..7aa190a4c 100644 --- a/layouts/partials/changed-in.html +++ b/layouts/partials/changed-in.html @@ -1,15 +1,11 @@ -{{/* +{{- /* 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 -}} -
-
- Changed in v{{ $ver }}
:
-
- {{ $details | markdownify }}
-