Add test for UseXHTML
This commit is contained in:
parent
106f1ec1bb
commit
6bd31203b1
|
|
@ -1129,3 +1129,14 @@ func TestSkipLinks(t *testing.T) {
|
|||
HTMLFlags: SkipLinks,
|
||||
})
|
||||
}
|
||||
|
||||
func TestUseXHTML(t *testing.T) {
|
||||
doTestsParam(t, []string{
|
||||
"---",
|
||||
"<hr>\n",
|
||||
}, TestParams{})
|
||||
doTestsParam(t, []string{
|
||||
"---",
|
||||
"<hr />\n",
|
||||
}, TestParams{HTMLFlags: UseXHTML})
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue