summaryrefslogtreecommitdiff
path: root/docutils
diff options
context:
space:
mode:
Diffstat (limited to 'docutils')
-rw-r--r--docutils/test/functional/expected/standalone_rst_html4css1.html6
-rw-r--r--docutils/test/functional/input/data/standard.txt3
2 files changed, 6 insertions, 3 deletions
diff --git a/docutils/test/functional/expected/standalone_rst_html4css1.html b/docutils/test/functional/expected/standalone_rst_html4css1.html
index f7db7b852..f9cf0a59b 100644
--- a/docutils/test/functional/expected/standalone_rst_html4css1.html
+++ b/docutils/test/functional/expected/standalone_rst_html4css1.html
@@ -539,10 +539,10 @@ document (a document-wide <a class="reference" href="#table-of-contents">table o
<div class="section" id="images">
<h3><a class="toc-backref" href="#id62" name="images">2.14.2&nbsp;&nbsp;&nbsp;Images</a></h3>
<p>An image directive (also clickable -- a hyperlink reference):</p>
-<div class="image image-reference"><a class="reference" href="#directives"><img alt="../../../docs/user/rst/images/title.png" src="../../../docs/user/rst/images/title.png" /></a></div>
+<div class="image class1 class2 image-reference"><a class="reference" href="#directives"><img alt="../../../docs/user/rst/images/title.png" class="class1 class2" src="../../../docs/user/rst/images/title.png" /></a></div>
<p>A figure directive:</p>
-<div class="figure">
-<div class="image"><img alt="reStructuredText, the markup syntax" src="../../../docs/user/rst/images/title.png" /></div>
+<div class="figclass1 figclass2 figure">
+<div class="image class1 class2"><img alt="reStructuredText, the markup syntax" class="class1 class2" src="../../../docs/user/rst/images/title.png" /></div>
<p class="caption">A figure is an image with a caption and/or a legend:</p>
<div class="legend">
<table border="1" class="docutils">
diff --git a/docutils/test/functional/input/data/standard.txt b/docutils/test/functional/input/data/standard.txt
index 95f74820c..092a0ae44 100644
--- a/docutils/test/functional/input/data/standard.txt
+++ b/docutils/test/functional/input/data/standard.txt
@@ -420,11 +420,14 @@ Images
An image directive (also clickable -- a hyperlink reference):
.. image:: ../../../docs/user/rst/images/title.png
+ :class: class1 class2
:target: directives_
A figure directive:
.. figure:: ../../../docs/user/rst/images/title.png
+ :figclass: figclass1 figclass2
+ :class: class1 class2
:alt: reStructuredText, the markup syntax
A figure is an image with a caption and/or a legend: