mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-03 21:36:36 +00:00
[PR #82] [MERGED] Fixes the IsValidAbbreviation method in AbbreviationParser #805
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/82
Author: @christophano
Created: 12/19/2016
Status: ✅ Merged
Merged: 12/19/2016
Merged by: @xoofx
Base:
master← Head:bugfix/abbreviation_parser_fix📝 Commits (2)
2d0dae4Fixes the IsValidAbbreviation method in AbbreviationParserba4e463Adds the test I ought to have included to begin with.📊 Changes
3 files changed (+34 additions, -2 deletions)
View changed files
📝
src/Markdig.Tests/Specs/AbbreviationSpecs.md(+10 -0)📝
src/Markdig.Tests/Specs/Specs.cs(+22 -0)📝
src/Markdig/Extensions/Abbreviations/AbbreviationParser.cs(+2 -2)📄 Description
I made a schoolboy error in my previous fix for the abbreviation parser.
It works perfectly well for most cases, but has issues where an almost valid abbreviation is the first, last or only value in the correct content block.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.