diff --git a/docutils/nodes.py b/docutils/nodes.py index 8628e9c..3b50a1e 100644 --- a/docutils/nodes.py +++ b/docutils/nodes.py @@ -1646,7 +1646,7 @@ class target(Special, Invisible, Inline, TextElement, Targetable): pass class footnote(General, BackLinkable, Element, Labeled, Targetable): pass class citation(General, BackLinkable, Element, Labeled, Targetable): pass class label(Part, TextElement): pass -class figure(General, Element): pass +class figure(General, Inline, Element): pass class caption(Part, TextElement): pass class legend(Part, Element): pass class table(General, Element): pass