From 7b48c50aeca520b8f0c0498bec3e8413381c5d42 Mon Sep 17 00:00:00 2001 From: wiemann Date: Sat, 2 Apr 2005 22:11:57 +0000 Subject: added test for image and figure :class: and :figclass: options git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3156 929543f6-e4f2-0310-98a6-ba3bd3dd1d04 --- docutils/test/functional/expected/standalone_rst_html4css1.html | 6 +++--- docutils/test/functional/input/data/standard.txt | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) (limited to 'docutils/test') 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 table o

2.14.2   Images

An image directive (also clickable -- a hyperlink reference):

-
../../../docs/user/rst/images/title.png
+
../../../docs/user/rst/images/title.png

A figure directive:

-
-
reStructuredText, the markup syntax
+
+
reStructuredText, the markup syntax

A figure is an image with a caption and/or a legend:

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: -- cgit v1.2.1