Add test for UseXHTML
Vytautas Ĺ altenis vytas@rtfb.lt
Tue, 05 Apr 2016 09:51:46 +0300
1 files changed,
11 insertions(+),
0 deletions(-)
jump to
M
inline_test.go
→
inline_test.go
@@ -1129,3 +1129,14 @@ }, TestParams{
HTMLFlags: SkipLinks, }) } + +func TestUseXHTML(t *testing.T) { + doTestsParam(t, []string{ + "---", + "<hr>\n", + }, TestParams{}) + doTestsParam(t, []string{ + "---", + "<hr />\n", + }, TestParams{HTMLFlags: UseXHTML}) +}