diff --git a/src/ethereum_spec_tools/docc.py b/src/ethereum_spec_tools/docc.py index 4d85448923..6c756be6cf 100644 --- a/src/ethereum_spec_tools/docc.py +++ b/src/ethereum_spec_tools/docc.py @@ -531,7 +531,9 @@ def _markdown_hash(self, node: mistletoe.MarkdownNode) -> int: result = () case spans.RawText | spans.HTMLSpan: result = (token.content,) - case spans.Image | spans.Link: + case spans.Link: + result = (token.target, token.title, token.label) + case spans.Image: result = (token.src, token.title, token.label) case blocks.Heading | blocks.SetextHeading: result = (token.level,)