You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
1.8 KiB
50 lines
1.8 KiB
7 years ago
|
<?xml version="1.0" encoding="utf-8" ?>
|
||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||
|
<head>
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||
|
<meta name="generator" content="Docutils 0.14: http://docutils.sourceforge.net/" />
|
||
|
<title>compact_lists.txt</title>
|
||
|
<link rel="stylesheet" href="../input/data/html4css1.css" type="text/css" />
|
||
|
</head>
|
||
|
<body>
|
||
|
<div class="document">
|
||
|
|
||
|
|
||
|
<ul class="simple">
|
||
|
<li>This is an ordinary simple bullet list.</li>
|
||
|
<li>It should be made compact (<p> & </p> tags omitted).</li>
|
||
|
</ul>
|
||
|
<hr class="docutils" />
|
||
|
<ul>
|
||
|
<li><p class="first">This is a bullet list that is not simple.</p>
|
||
|
<p>There are multiple paragraphs in some items.</p>
|
||
|
</li>
|
||
|
<li><p class="first">It should not be made compact.</p>
|
||
|
</li>
|
||
|
<li><p class="first">Even though some items may have only one paragraph.</p>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<hr class="docutils" />
|
||
|
<ul class="open">
|
||
|
<li><p class="first">This is a simple bullet list, but class="open" is set.</p>
|
||
|
</li>
|
||
|
<li><p class="first">It should not be made compact.</p>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<hr class="docutils" />
|
||
|
<ul class="compact simple">
|
||
|
<li>This is a bullet list that is not simple.<p>There are multiple paragraphs in some items.</p>
|
||
|
</li>
|
||
|
<li>However, the class="compact" setting will cause
|
||
|
all first paragraph's <p> & </p> tags to be omitted.</li>
|
||
|
<li>Items with multiple paragraphs will not appear changed.</li>
|
||
|
<li>Items may have one paragraph, or multiple.<p>Items with multiple paragraphs will still be followed
|
||
|
by vertical whitespace because of the later paragraphs.</p>
|
||
|
</li>
|
||
|
<li>The effect is interesting.</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|