[PR #785] [MERGED] Fix issues for math span calculation #1224

Closed
opened 2026-01-29 14:51:40 +00:00 by claunia · 0 comments
Owner

📋 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: masterHead: fix_issues


📝 Commits (1)

  • 93d88ab Fix 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.

## 📋 Pull Request Information **Original PR:** https://github.com/xoofx/markdig/pull/785 **Author:** [@toothache](https://github.com/toothache) **Created:** 3/20/2024 **Status:** ✅ Merged **Merged:** 3/29/2024 **Merged by:** [@xoofx](https://github.com/xoofx) **Base:** `master` ← **Head:** `fix_issues` --- ### 📝 Commits (1) - [`93d88ab`](https://github.com/xoofx/markdig/commit/93d88ab994ae7788af4eb3d02f88fa2e2848a5ae) Fix math span calculation. ### 📊 Changes **2 files changed** (+9 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `src/Markdig.Tests/TestSourcePosition.cs` (+8 -1) 📝 `src/Markdig/Extensions/Mathematics/MathInlineParser.cs` (+1 -1) </details> ### 📄 Description A follow up fix for #779 . Math span end position should also consider the situation when the math inline is closed with whitespace. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 14:51:40 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/markdig#1224