mirror of
https://github.com/russross/blackfriday.git
synced 2024-03-22 13:40:34 +08: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