1 <?xml version=
"1.0" encoding=
"utf-8" ?>
2 <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns=
"http://www.w3.org/1999/xhtml" xml:
lang=
"en" lang=
"en">
5 <meta http-equiv=
"Content-Type" content=
"text/html; charset=utf-8" />
6 <meta name=
"generator" content=
"Docutils 0.15b.dev: http://docutils.sourceforge.net/" />
7 <title>compact_lists.txt
</title>
8 <link rel=
"stylesheet" href=
"../input/data/html4css1.css" type=
"text/css" />
11 <div class=
"document">
15 <li>This is an ordinary simple bullet list.
</li>
16 <li>It should be made compact (
<p
> & </p
> tags omitted).
</li>
18 <hr class=
"docutils" />
20 <li><p class=
"first">This is a bullet list that is not simple.
</p>
21 <p>There are multiple paragraphs in some items.
</p>
23 <li><p class=
"first">It should not be made compact.
</p>
25 <li><p class=
"first">Even though some items may have only one paragraph.
</p>
28 <hr class=
"docutils" />
30 <li><p class=
"first">This is a simple bullet list, but class=
"open
" is set.
</p>
32 <li><p class=
"first">It should not be made compact.
</p>
35 <hr class=
"docutils" />
36 <ul class=
"compact simple">
37 <li>This is a bullet list that is not simple.
<p>There are multiple paragraphs in some items.
</p>
39 <li>However, the class=
"compact
" setting will cause
40 all first paragraph's
<p
> & </p
> tags to be omitted.
</li>
41 <li>Items with multiple paragraphs will not appear changed.
</li>
42 <li>Items may have one paragraph, or multiple.
<p>Items with multiple paragraphs will still be followed
43 by vertical whitespace because of the later paragraphs.
</p>
45 <li>The effect is interesting.
</li>