diff --git a/inline_test.go b/inline_test.go index ccca327..76b2afb 100644 --- a/inline_test.go +++ b/inline_test.go @@ -1129,3 +1129,14 @@ func TestSkipLinks(t *testing.T) { HTMLFlags: SkipLinks, }) } + +func TestUseXHTML(t *testing.T) { + doTestsParam(t, []string{ + "---", + "
\n", + }, TestParams{}) + doTestsParam(t, []string{ + "---", + "
\n", + }, TestParams{HTMLFlags: UseXHTML}) +}