mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-28 06:30:33 +03:00
helpers: Rename getMmarkHtmlRenderer to getMmarkHTMLRenderer
To be consistent with the changes made in commit 67df33f
, see #959.
This commit is contained in:
parent
bec1ac7b33
commit
d45b55bdd4
3 changed files with 8 additions and 9 deletions
|
@ -194,12 +194,12 @@ func TestGetHTMLRendererAnchors(t *testing.T) {
|
|||
}
|
||||
}
|
||||
|
||||
func TestGetMmarkHtmlRenderer(t *testing.T) {
|
||||
func TestGetMmarkHTMLRenderer(t *testing.T) {
|
||||
ctx := &RenderingContext{}
|
||||
ctx.DocumentID = "testid"
|
||||
ctx.Config = ctx.getConfig()
|
||||
ctx.Config.PlainIDAnchors = false
|
||||
actualRenderer := getMmarkHtmlRenderer(0, ctx)
|
||||
actualRenderer := getMmarkHTMLRenderer(0, ctx)
|
||||
|
||||
headerBuffer := &bytes.Buffer{}
|
||||
footnoteBuffer := &bytes.Buffer{}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue