aboutsummaryrefslogtreecommitdiff
path: root/test.html
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-01-29 23:58:05 +0000
committerJohn Ankarström <john@ankarstrom.se>2021-01-29 23:58:05 +0000
commit1eaa4590ceee74ca82162cfbcd7f417d35dacd35 (patch)
tree46fb4c2d2c30654d15192e378135a9b5e2178f75 /test.html
parenta9b6311209593b5a5955048e124fc45a9d4a108e (diff)
downloadem-1eaa4590ceee74ca82162cfbcd7f417d35dacd35.tar.gz
Add support for mixed nested lists
That is, <ul> within <ol> or vice versa.
Diffstat (limited to 'test.html')
-rw-r--r--test.html14
1 files changed, 10 insertions, 4 deletions
diff --git a/test.html b/test.html
index 212c830..af80b0b 100644
--- a/test.html
+++ b/test.html
@@ -1,6 +1,6 @@
<h1>Em example</h1>
<p>
-This is an example of <i>Em</i> (<a href="http://example.com">link</a>).
+This is an example of <i>em</i> (<a href="http://example.com">link</a>).
</p>
<ul>
<li>Here is an
@@ -17,13 +17,19 @@ ordered list item.
<ul>
<li>Here is a list
</li><ul>
-<li>With another list inside it [<a href="#refa">a</a>]
+<li>With another list inside it [<a href="#ref1">1</a>]
</li>
</ul>
</ul>
<ol>
-<li value="1" id="ref1">http://example.com
-</li><li value="a" id="refa">Reference list item
+<li value="1">Here is a mixed nested list
+</li><ul>
+<li>An unordered item
+</li>
+</ol>
+</ol>
+<ol class="reflist" style="font-size: small;">
+<li value="1" id="ref1">Reference list item
</li>
</ol>
<dl>