mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-13 21:42:57 +00:00
[PR #785] [MERGED] Fix issues for math span calculation #1224
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/785
Author: @toothache
Created: 3/20/2024
Status: ✅ Merged
Merged: 3/29/2024
Merged by: @xoofx
Base:
master← Head:fix_issues📝 Commits (1)
93d88abFix math span calculation.📊 Changes
2 files changed (+9 additions, -2 deletions)
View changed files
📝
src/Markdig.Tests/TestSourcePosition.cs(+8 -1)📝
src/Markdig/Extensions/Mathematics/MathInlineParser.cs(+1 -1)📄 Description
A follow up fix for #779 . Math span end position should also consider the situation when the math inline is closed with whitespace.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.