summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/gomarkdown/markdown/html
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/gomarkdown/markdown/html')
-rw-r--r--vendor/github.com/gomarkdown/markdown/html/doc.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/github.com/gomarkdown/markdown/html/doc.go b/vendor/github.com/gomarkdown/markdown/html/doc.go
index 93a2cf55..34bbbe23 100644
--- a/vendor/github.com/gomarkdown/markdown/html/doc.go
+++ b/vendor/github.com/gomarkdown/markdown/html/doc.go
@@ -26,8 +26,8 @@ links or code blocks.
// a very dummy render hook that will output "code_replacements" instead of
// <code>${content}</code> emitted by html.Renderer
- func renderHookCodeBlock(w io.Writer, node *ast.Node, entering bool) (ast.WalkStatus, bool) {
- _, ok := node.Data.(*ast.CodeBlockData)
+ func renderHookCodeBlock(w io.Writer, node ast.Node, entering bool) (ast.WalkStatus, bool) {
+ _, ok := node.(*ast.CodeBlock)
if !ok {
return ast.GoToNext, false
}