mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-09 21:42:15 +00:00
[PR #47] [MERGED] Fixes issue where trailing text after an inline math block is both included in the math block and appended after the math block. #780
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/47
Author: @christophano
Created: 8/19/2016
Status: ✅ Merged
Merged: 8/23/2016
Merged by: @xoofx
Base:
master← Head:bugfix/inline-maths-with-trailing-text📝 Commits (1)
fd813e3Fixes issue where trailing text after an inline math block is both included in the math block and appended after the math block.📊 Changes
3 files changed (+35 additions, -7 deletions)
View changed files
📝
src/Markdig.Tests/Specs/MathSpecs.md(+7 -0)📝
src/Markdig.Tests/Specs/Specs.cs(+25 -5)📝
src/Markdig/Extensions/Mathematics/MathInlineParser.cs(+3 -2)📄 Description
I found an issue where inline math with trailing text both included the text inside the maths block and outside the maths block.
For example:
Should render as
But instead we get
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.