From 3fcf875f9fa4e65422233e639f41b23658268198 Mon Sep 17 00:00:00 2001 From: Joe Mooring Date: Wed, 31 Mar 2021 12:47:01 -0700 Subject: [PATCH] Add "type" to the list attribute filter Closes #206 --- renderer/html/html.go | 1 + 1 file changed, 1 insertion(+) diff --git a/renderer/html/html.go b/renderer/html/html.go index e545a73..d8ff7e5 100644 --- a/renderer/html/html.go +++ b/renderer/html/html.go @@ -318,6 +318,7 @@ func (r *Renderer) renderHTMLBlock(w util.BufWriter, source []byte, node ast.Nod var ListAttributeFilter = GlobalAttributeFilter.Extend( []byte("start"), []byte("reversed"), + []byte("type"), ) func (r *Renderer) renderList(w util.BufWriter, source []byte, node ast.Node, entering bool) (ast.WalkStatus, error) {