[PR #666] [MERGED] Fix ANE when parsing empty documents with trackTrivia enabled #1166

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

📋 Pull Request Information

Original PR: https://github.com/xoofx/markdig/pull/666
Author: @meziantou
Created: 9/27/2022
Status: Merged
Merged: 9/27/2022
Merged by: @xoofx

Base: masterHead: issues/665


📝 Commits (1)

  • 8e4a732 Fix ANE when parsing empty documents with trackTrivia enabled

📊 Changes

2 files changed (+15 additions, -1 deletions)

View changed files

📝 src/Markdig.Tests/TestParser.cs (+10 -0)
📝 src/Markdig/Parsers/MarkdownParser.cs (+5 -1)

📄 Description

Fix #665


🔄 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/666 **Author:** [@meziantou](https://github.com/meziantou) **Created:** 9/27/2022 **Status:** ✅ Merged **Merged:** 9/27/2022 **Merged by:** [@xoofx](https://github.com/xoofx) **Base:** `master` ← **Head:** `issues/665` --- ### 📝 Commits (1) - [`8e4a732`](https://github.com/xoofx/markdig/commit/8e4a732efec2e7797a2e5527c27d265cd008f409) Fix ANE when parsing empty documents with trackTrivia enabled ### 📊 Changes **2 files changed** (+15 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/Markdig.Tests/TestParser.cs` (+10 -0) 📝 `src/Markdig/Parsers/MarkdownParser.cs` (+5 -1) </details> ### 📄 Description Fix #665 --- <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:50:46 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/markdig#1166