diff options
author | Gavin D. Howard <yzena.tech@gmail.com> | 2019-12-11 23:48:40 -0700 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2019-12-12 07:48:40 +0100 |
commit | 4c804319f6db0b8459cc9b5df4a904fd2c55dedd (patch) | |
tree | e1972bfdf52dbc48e2d4f6df01a859c4cbb523c8 /markup/goldmark/toc_test.go | |
parent | 186a5ebfca29bffc413c5d968b3f4a69066a867c (diff) |
markup/tableofcontents: Add config option for ordered list
Diffstat (limited to 'markup/goldmark/toc_test.go')
-rw-r--r-- | markup/goldmark/toc_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/markup/goldmark/toc_test.go b/markup/goldmark/toc_test.go index d3a1613cf..19928dd8e 100644 --- a/markup/goldmark/toc_test.go +++ b/markup/goldmark/toc_test.go @@ -58,7 +58,7 @@ And then some. c.Assert(err, qt.IsNil) b, err := conv.Convert(converter.RenderContext{Src: []byte(content), RenderTOC: true}) c.Assert(err, qt.IsNil) - got := b.(converter.TableOfContentsProvider).TableOfContents().ToHTML(2, 3) + got := b.(converter.TableOfContentsProvider).TableOfContents().ToHTML(2, 3, false) c.Assert(got, qt.Equals, `<nav id="TableOfContents"> <ul> <li><a href="#first-h2---now-with-typography">First h2—now with typography!</a> |