Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #9330: versionchanged causes error during pdf build
The versionchanged directive breaks doctree if its contents start with non-paragraph element (ex. lists, tables, and so on). It causes build error in LaTeX. This inserts a paragraph if the first child of the contents is not a paragraph not to break doctree.
- Loading branch information