Fix changed-in
partial when used with multiple paragraphs (#2006)
When used with a text that includes multiple paragraphs, the partial created invalid HTML by nesting `<p>` elements. It also changed the rendering by making "Changed in vX.XX:" a separate paragraph, when it is inline with a single paragraph. To change that we do as with "Required" and add "Changed in vX.XX:" to the text before it is rendered, making it inline with the first paragraph. Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
parent
f3130f70e6
commit
c5eac010be
2 changed files with 5 additions and 8 deletions
1
changelogs/internal/newsfragments/2006.clarification
Normal file
1
changelogs/internal/newsfragments/2006.clarification
Normal file
|
@ -0,0 +1 @@
|
|||
Fix `changed-in` partial when used with multiple paragraphs.
|
Loading…
Add table
Add a link
Reference in a new issue