mirror of
https://github.com/danog/blackfriday.git
synced 2024-11-26 20:14:43 +01:00
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
Block a user