~ubuntu-branches/ubuntu/hardy/python-docutils/hardy

« back to all changes in this revision

Viewing changes to test/functional/input/compact_lists.txt

  • Committer: Bazaar Package Importer
  • Author(s): martin f. krafft
  • Date: 2006-07-10 11:45:05 UTC
  • mfrom: (2.1.4 edgy)
  • Revision ID: james.westby@ubuntu.com-20060710114505-otkhqcslevewxmz5
Tags: 0.4-3
Added build dependency on python-central (closes: #377580).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
* This is an ordinary simple bullet list.
 
2
* It should be made compact (<p> & </p> tags omitted).
 
3
 
 
4
**********
 
5
 
 
6
* This is a bullet list that is not simple.
 
7
 
 
8
  There are multiple paragraphs in some items.
 
9
 
 
10
* It should not be made compact.
 
11
 
 
12
* Even though some items may have only one paragraph.
 
13
 
 
14
**********
 
15
 
 
16
.. class:: open
 
17
 
 
18
* This is a simple bullet list, but class="open" is set.
 
19
* It should not be made compact.
 
20
 
 
21
**********
 
22
 
 
23
.. class:: compact
 
24
 
 
25
* This is a bullet list that is not simple.
 
26
 
 
27
  There are multiple paragraphs in some items.
 
28
 
 
29
* However, the class="compact" setting will cause 
 
30
  all first paragraph's <p> & </p> tags to be omitted.
 
31
 
 
32
* Items with multiple paragraphs will not appear changed.
 
33
 
 
34
* Items may have one paragraph, or multiple.
 
35
 
 
36
  Items with multiple paragraphs will still be followed
 
37
  by vertical whitespace because of the later paragraphs.
 
38
 
 
39
* The effect is interesting.