diff options
| author | goodger <goodger@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2005-12-15 14:32:01 +0000 |
|---|---|---|
| committer | goodger <goodger@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2005-12-15 14:32:01 +0000 |
| commit | 185f2b4fb839e4044c32afdbbbefd86f552a85a1 (patch) | |
| tree | 845ef25c6a0cd3523da973d626d9791ea0640d85 /docutils/test/functional/input | |
| parent | 1c853088b607301dedcaf149efe38a3d12ba4db1 (diff) | |
| download | docutils-185f2b4fb839e4044c32afdbbbefd86f552a85a1.tar.gz | |
fixed "compact" & "open" classes on lists, and added a functional test
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@4219 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/test/functional/input')
| -rw-r--r-- | docutils/test/functional/input/compact_lists.txt | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/docutils/test/functional/input/compact_lists.txt b/docutils/test/functional/input/compact_lists.txt new file mode 100644 index 000000000..ec13a97be --- /dev/null +++ b/docutils/test/functional/input/compact_lists.txt @@ -0,0 +1,39 @@ +* This is an ordinary simple bullet list. +* It should be made compact (<p> & </p> tags omitted). + +********** + +* This is a bullet list that is not simple. + + There are multiple paragraphs in some items. + +* It should not be made compact. + +* Even though some items may have only one paragraph. + +********** + +.. class:: open + +* This is a simple bullet list, but class="open" is set. +* It should not be made compact. + +********** + +.. class:: compact + +* This is a bullet list that is not simple. + + There are multiple paragraphs in some items. + +* However, the class="compact" setting will cause + all first paragraph's <p> & </p> tags to be omitted. + +* Items with multiple paragraphs will not appear changed. + +* Items may have one paragraph, or multiple. + + Items with multiple paragraphs will still be followed + by vertical whitespace because of the later paragraphs. + +* The effect is interesting. |
