Skip to content

Commit

Permalink
stage
Browse files Browse the repository at this point in the history
  • Loading branch information
Mpdreamz committed Dec 19, 2024
1 parent 9dea024 commit c5105be
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,11 @@ public override bool Close(BlockProcessor processor, Block block)
if (codeBlock.CallOuts is not null)
{
foreach (var callout in codeBlock.CallOuts)
lines.Lines[callout.Line - 1].Slice.End = callout.SliceStart;
{
var line = lines.Lines[callout.Line - 1];
line.Slice.End = line.Slice.Start + callout.SliceStart;

}
}

var inlineAnnotations = codeBlock.CallOuts?.Where(c => c.InlineCodeAnnotation).Count() ?? 0;
Expand Down

0 comments on commit c5105be

Please sign in to comment.