diff --git a/block_test.go b/block_test.go index 06d5b5d..2f1616c 100644 --- a/block_test.go +++ b/block_test.go @@ -23,13 +23,13 @@ func runMarkdownBlockWithRenderer(input string, extensions Extensions, renderer } func runMarkdownBlock(input string, extensions Extensions) string { - renderer := HtmlRenderer(UseXHTML, "", "") + renderer := HtmlRenderer(UseXHTML, extensions, "", "") return runMarkdownBlockWithRenderer(input, extensions, renderer) } func runnerWithRendererParameters(parameters HtmlRendererParameters) func(string, Extensions) string { return func(input string, extensions Extensions) string { - renderer := HtmlRendererWithParameters(UseXHTML, "", "", parameters) + renderer := HtmlRendererWithParameters(UseXHTML, extensions, "", "", parameters) return runMarkdownBlockWithRenderer(input, extensions, renderer) } } diff --git a/html.go b/html.go index d5c8123..9433072 100644 --- a/html.go +++ b/html.go @@ -29,25 +29,20 @@ type HtmlFlags int // HTML renderer configuration options. const ( - HtmlFlagsNone HtmlFlags = 0 - SkipHTML HtmlFlags = 1 << iota // Skip preformatted HTML blocks - SkipStyle // Skip embedded