diff --git a/helpers_test.go b/helpers_test.go index 030caa5..99ac806 100644 --- a/helpers_test.go +++ b/helpers_test.go @@ -106,7 +106,7 @@ func doLinkTestsInline(t *testing.T, tests []string) { HTMLRendererParameters: params, }) doTestsInlineParam(t, transformTests, TestParams{ - HTMLFlags: CommonHTMLFlags, + HTMLFlags: UseXHTML, HTMLRendererParameters: params, }) } diff --git a/html.go b/html.go index 6e26d92..96fb655 100644 --- a/html.go +++ b/html.go @@ -29,18 +29,23 @@ type HTMLFlags int // HTML renderer configuration options. const ( - HTMLFlagsNone HTMLFlags = 0 - SkipHTML HTMLFlags = 1 << iota // Skip preformatted HTML blocks - SkipStyle // Skip embedded