summaryrefslogtreecommitdiffstats
path: root/helpers/content_renderer_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/content_renderer_test.go')
-rw-r--r--helpers/content_renderer_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/helpers/content_renderer_test.go b/helpers/content_renderer_test.go
index 1a60d6d70..40acd89e1 100644
--- a/helpers/content_renderer_test.go
+++ b/helpers/content_renderer_test.go
@@ -23,7 +23,7 @@ import (
)
// Renders a codeblock using Blackfriday
-func (c ContentSpec) render(input string) string {
+func (c *ContentSpec) render(input string) string {
ctx := &RenderingContext{Cfg: c.Cfg, Config: c.BlackFriday}
render := c.getHTMLRenderer(0, ctx)
@@ -33,7 +33,7 @@ func (c ContentSpec) render(input string) string {
}
// Renders a codeblock using Mmark
-func (c ContentSpec) renderWithMmark(input string) string {
+func (c *ContentSpec) renderWithMmark(input string) string {
ctx := &RenderingContext{Cfg: c.Cfg, Config: c.BlackFriday}
render := c.getMmarkHTMLRenderer(0, ctx)