aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/misc/some-test.html4
-rw-r--r--tests/options/lazy_ol_off.html18
-rw-r--r--tests/options/lazy_ol_off.txt17
-rw-r--r--tests/options/test.cfg2
4 files changed, 39 insertions, 2 deletions
diff --git a/tests/misc/some-test.html b/tests/misc/some-test.html
index 92e7262..b78683f 100644
--- a/tests/misc/some-test.html
+++ b/tests/misc/some-test.html
@@ -51,7 +51,7 @@ ok
with a bunch of items</li>
<li>
<p>Mostly fruits</p>
-<ol start="3">
+<ol>
<li>Apple</li>
<li>Pare</li>
</ol>
@@ -65,4 +65,4 @@ Another code example
* Lists and similar stuff
&gt; Should be ignored
-</code></pre>
+</code></pre> \ No newline at end of file
diff --git a/tests/options/lazy_ol_off.html b/tests/options/lazy_ol_off.html
new file mode 100644
index 0000000..bff1970
--- /dev/null
+++ b/tests/options/lazy_ol_off.html
@@ -0,0 +1,18 @@
+<p>A numbered list from daringfireball:</p>
+<ol start="3">
+<li>Bird</li>
+<li>McHale</li>
+<li>Parish</li>
+</ol>
+<p>Again:</p>
+<ol start="3">
+<li>Bird</li>
+<li>McHale</li>
+<li>Parish</li>
+</ol>
+<p>Now starting with 1:</p>
+<ol>
+<li>Bird</li>
+<li>McHale</li>
+<li>Parish</li>
+</ol> \ No newline at end of file
diff --git a/tests/options/lazy_ol_off.txt b/tests/options/lazy_ol_off.txt
new file mode 100644
index 0000000..611f3a6
--- /dev/null
+++ b/tests/options/lazy_ol_off.txt
@@ -0,0 +1,17 @@
+A numbered list from daringfireball:
+
+3. Bird
+1. McHale
+8. Parish
+
+Again:
+
+3. Bird
+1. McHale
+8. Parish
+
+Now starting with 1:
+
+1. Bird
+1. McHale
+8. Parish
diff --git a/tests/options/test.cfg b/tests/options/test.cfg
new file mode 100644
index 0000000..d0d3368
--- /dev/null
+++ b/tests/options/test.cfg
@@ -0,0 +1,2 @@
+[lazy_ol_off]
+lazy_ol = False