mirror of
https://github.com/yuin/goldmark
synced 2025-03-04 23:04:52 +00:00
NodeKind.String() will currently panic if called with an unknown NodeKind. This change verifies that the name of the NodeKind is known before looking it up in kindNames. If the name is unknown, a generic `NodeKind(N)` string representation is used. |
||
|---|---|---|
| .. | ||
| ast.go | ||
| ast_test.go | ||
| block.go | ||
| inline.go | ||