Fix #6914: figure numbers are unexpectedly assigned to uncaptioned items

The figure numbers should be assigned to items only having captions or
titles.  This uses `get_numfig_title()` to ensures it on assign numbers.
This commit is contained in:
Takeshi KOMIYA
2020-08-08 21:20:55 +09:00
parent d8cb7aa4f6
commit 66dda1fc50
2 changed files with 5 additions and 0 deletions

View File

@@ -47,6 +47,7 @@ Bugs fixed
singlehtml and so on)
* #8239: Failed to refer a token in productionlist if it is indented
* #8268: linkcheck: Report HTTP errors when ``linkcheck_anchors`` is ``True``
* #6914: figure numbers are unexpectedly assigned to uncaptioned items
Testing
--------