1
0
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:
Vytautas Šaltenis 2016-04-05 09:51:46 +03:00
parent 106f1ec1bb
commit 6bd31203b1

View File

@ -1129,3 +1129,14 @@ func TestSkipLinks(t *testing.T) {
HTMLFlags: SkipLinks, HTMLFlags: SkipLinks,
}) })
} }
func TestUseXHTML(t *testing.T) {
doTestsParam(t, []string{
"---",
"<hr>\n",
}, TestParams{})
doTestsParam(t, []string{
"---",
"<hr />\n",
}, TestParams{HTMLFlags: UseXHTML})
}