File tree Expand file tree Collapse file tree 5 files changed +47
-0
lines changed
markdown/definition_lists Expand file tree Collapse file tree 5 files changed +47
-0
lines changed Original file line number Diff line number Diff line change @@ -157,6 +157,10 @@ fn definition_lists() {
157157 . check_main_file (
158158 "book/definition_lists.html" ,
159159 file ! [ "markdown/definition_lists/expected_disabled/definition_lists.html" ] ,
160+ )
161+ . check_main_file (
162+ "book/html_definition_lists.html" ,
163+ file ! [ "markdown/definition_lists/expected_disabled/html_definition_lists.html" ] ,
160164 ) ;
161165}
162166
Original file line number Diff line number Diff line change 1+ < h1 id ="html-definition-lists "> < a class ="header " href ="#html-definition-lists "> HTML definition lists</ a > </ h1 >
2+ < p > Test for definition lists manually written in HTML.</ p >
3+ < dl >
4+
5+ < dt id ="some-tag "> < a class ="header " href ="#some-tag "> Some tag</ a > </ dt >
6+
7+
8+ < dd > Some defintion</ dd >
9+
10+
11+ < dt class ="myclass " id ="myid "> < a class ="header " href ="#myid "> < a class ="option-anchor " href ="#foo "> Another definition</ a > </ a > </ dt >
12+
13+
14+ < dd class ="def-class "> A definition.</ dd >
15+
16+ </ dl >
Original file line number Diff line number Diff line change 1+ < h1 id ="html-definition-lists "> < a class ="header " href ="#html-definition-lists "> HTML definition lists</ a > </ h1 >
2+ < p > Test for definition lists manually written in HTML.</ p >
3+ < dl >
4+
5+ < dt id ="some-tag "> < a class ="header " href ="#some-tag "> Some tag</ a > </ dt >
6+
7+
8+ < dd > Some defintion</ dd >
9+
10+
11+ < dt class ="myclass " id ="myid "> < a class ="header " href ="#myid "> < a class ="option-anchor " href ="#foo "> Another definition</ a > </ a > </ dt >
12+
13+
14+ < dd class ="def-class "> A definition.</ dd >
15+
16+ </ dl >
Original file line number Diff line number Diff line change 11# Summary
22
33- [ Definition lists] ( ./definition_lists.md )
4+ - [ HTML definition lists] ( ./html_definition_lists.md )
Original file line number Diff line number Diff line change 1+ # HTML definition lists
2+
3+ Test for definition lists manually written in HTML.
4+
5+ <dl >
6+ <dt>Some tag</dt>
7+ <dd>Some defintion</dd>
8+ <dt class="myclass" id="myid"><a class="option-anchor" href="#foo">Another definition</a></dt>
9+ <dd class="def-class">A definition.</dd>
10+ </dl >
You can’t perform that action at this time.
0 commit comments