yuin / goldmark

:trophy: A markdown parser written in Go. Easy to extend, standard(CommonMark) compliant, well structured.
MIT License
3.68k stars 255 forks source link

fix: panic on invalid NodeRenderer in renderer #178

Closed 13rac1 closed 3 years ago

13rac1 commented 3 years ago

Uses the previously ignored type check ok value with a similar structure to parse.go for the With* functional options.

Changes: runtime error: invalid memory address or nil pointer dereference to: <TypeName> is not a NodeRenderer

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

13rac1 commented 3 years ago

@yuin Is there something wrong with this? Should I keep bumping it?