diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2022-02-26 17:24:10 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2022-02-26 21:54:36 +0100 |
commit | 579ff9b6524ed4e55c191ab94251f5a2fe315f68 (patch) | |
tree | 0249f3ae723241c4cc2fef7e9ad9ddf06e4bc523 /markup/converter | |
parent | 928a89696273b1a5defa0e85115c9bd0e167cbf0 (diff) |
markup/goldmark: Improve attributes vs options
Fixes #9571
Diffstat (limited to 'markup/converter')
-rw-r--r-- | markup/converter/hooks/hooks.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/markup/converter/hooks/hooks.go b/markup/converter/hooks/hooks.go index a570113ff..e81689f04 100644 --- a/markup/converter/hooks/hooks.go +++ b/markup/converter/hooks/hooks.go @@ -90,11 +90,11 @@ type HeadingRenderer interface { identity.Provider } -// ElementPositionRevolver provides a way to resolve the start Position +// ElementPositionResolver provides a way to resolve the start Position // of a markdown element in the original source document. // This may be both slow and aproximate, so should only be // used for error logging. -type ElementPositionRevolver interface { +type ElementPositionResolver interface { ResolvePosition(ctx interface{}) text.Position } |