diff --git a/src/Markdig/Extensions/Footnotes/FootnoteParser.cs b/src/Markdig/Extensions/Footnotes/FootnoteParser.cs index 6d184bde..52c8c2c7 100644 --- a/src/Markdig/Extensions/Footnotes/FootnoteParser.cs +++ b/src/Markdig/Extensions/Footnotes/FootnoteParser.cs @@ -57,6 +57,8 @@ private BlockState TryOpen(BlockProcessor processor, bool isContinue) { Label = label, LabelSpan = labelSpan, + Column = processor.Column, + Span = new SourceSpan(processor.Start, processor.Line.End), }; // Maintain a list of all footnotes at document level @@ -74,6 +76,7 @@ private BlockState TryOpen(BlockProcessor processor, bool isContinue) { CreateLinkInline = CreateLinkToFootnote, Line = processor.LineIndex, + Column = saved, Span = new SourceSpan(start, processor.Start - 2), // account for ]: LabelSpan = labelSpan, Label = label