Skip to content

Commit

Permalink
HTML Reader: Test <ol> type, class, and inline list-style(-type) CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
hftf committed Jul 24, 2015
1 parent 7ef8700 commit 490db2d
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/html-reader.html
Expand Up @@ -185,6 +185,13 @@ <h2>Ordered</h2>
<li><p>Item 3.</p>
</li>
</ol>
<p>List styles:</p>
<ol></ol>
<ol type="i"></ol>
<ol class="lower-roman"></ol>
<ol style="lower-roman"></ol>
<ol style="list-style: lower-roman;"></ol>
<ol style="list-style-type: lower-roman;"></ol>
<h2>Nested</h2>
<ul>
<li>Tab<ul>
Expand Down
13 changes: 13 additions & 0 deletions tests/html-reader.native
Expand Up @@ -116,6 +116,19 @@ Pandoc (Meta {unMeta = fromList [("generator",MetaInlines [Str "pandoc"]),("titl
,Para [Str "Item",Space,Str "1.",Space,Str "graf",Space,Str "two.",Space,Str "The",Space,Str "quick",Space,Str "brown",Space,Str "fox",Space,Str "jumped",Space,Str "over",Space,Str "the",Space,Str "lazy",Space,Str "dog's",Space,Str "back."]]
,[Para [Str "Item",Space,Str "2."]]
,[Para [Str "Item",Space,Str "3."]]]
,Para [Str "List",Space,Str "styles:"]
,OrderedList (1,DefaultStyle,DefaultDelim)
[]
,OrderedList (1,LowerRoman,DefaultDelim)
[]
,OrderedList (1,LowerRoman,DefaultDelim)
[]
,OrderedList (1,DefaultStyle,DefaultDelim)
[]
,OrderedList (1,LowerRoman,DefaultDelim)
[]
,OrderedList (1,LowerRoman,DefaultDelim)
[]
,Header 2 ("",[],[]) [Str "Nested"]
,BulletList
[[Plain [Str "Tab"]
Expand Down

0 comments on commit 490db2d

Please sign in to comment.