mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-14 21:47:13 +00:00
[PR #779] [MERGED] Fix math source span #1220
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/xoofx/markdig/pull/779
Author: @toothache
Created: 3/11/2024
Status: ✅ Merged
Merged: 3/14/2024
Merged by: @xoofx
Base:
master← Head:fix_math_span📝 Commits (1)
3c7edaaFix math source span.📊 Changes
2 files changed (+4 additions, -3 deletions)
View changed files
📝
src/Markdig.Tests/TestSourcePosition.cs(+3 -2)📝
src/Markdig/Extensions/Mathematics/MathInlineParser.cs(+1 -1)📄 Description
Fix math source span calculation.
The span is wrong if a math is followed with more texts:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.