[PR #900] [MERGED] Fix IndexOutOfRangeException in CodeInlineParser #1293

Open
opened 2026-01-29 14:52:42 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/xoofx/markdig/pull/900
Author: @MihaZupan
Created: 10/16/2025
Status: Merged
Merged: 10/16/2025
Merged by: @xoofx

Base: masterHead: codeinline-index


📝 Commits (1)

  • 3e41e53 Fix IndexOutOfRangeException in CodeInlineParser

📊 Changes

3 files changed (+24 additions, -10 deletions)

View changed files

src/Markdig.Tests/TestCodeInline.cs (+10 -0)
📝 src/Markdig/Parsers/Inlines/CodeInlineParser.cs (+1 -6)
📝 src/Markdig/Polyfills/SpanExtensions.cs (+13 -4)

📄 Description

Fixes https://github.com/xoofx/markdig/pull/893#discussion_r2389292376


🔄 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/900 **Author:** [@MihaZupan](https://github.com/MihaZupan) **Created:** 10/16/2025 **Status:** ✅ Merged **Merged:** 10/16/2025 **Merged by:** [@xoofx](https://github.com/xoofx) **Base:** `master` ← **Head:** `codeinline-index` --- ### 📝 Commits (1) - [`3e41e53`](https://github.com/xoofx/markdig/commit/3e41e5363f089b134e1b3369e873e8eb5703506e) Fix IndexOutOfRangeException in CodeInlineParser ### 📊 Changes **3 files changed** (+24 additions, -10 deletions) <details> <summary>View changed files</summary> ➕ `src/Markdig.Tests/TestCodeInline.cs` (+10 -0) 📝 `src/Markdig/Parsers/Inlines/CodeInlineParser.cs` (+1 -6) 📝 `src/Markdig/Polyfills/SpanExtensions.cs` (+13 -4) </details> ### 📄 Description Fixes https://github.com/xoofx/markdig/pull/893#discussion_r2389292376 --- <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:52:43 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/markdig#1293