all repos — grayfriday @ 6bd31203b1bf484712eb2b2d591555ec96252010

blackfriday fork with a few changes

Add test for UseXHTML
Vytautas Ĺ altenis vytas@rtfb.lt
Tue, 05 Apr 2016 09:51:46 +0300
commit

6bd31203b1bf484712eb2b2d591555ec96252010

parent

106f1ec1bb14f46caf8088917a61182ad911af14

1 files changed, 11 insertions(+), 0 deletions(-)

jump to
M inline_test.goinline_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}) +}