From a4ee41f7ec2594933f50a398129bba21346b6a98 Mon Sep 17 00:00:00 2001 From: Erik Stein Date: Tue, 5 Jun 2018 12:14:43 +0200 Subject: [PATCH] Allow figures to used in substitutiosn like images (HACK). --- docutils/nodes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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