mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-04-26 09:46:01 +03:00
[PR #539] [MERGED] Update MD051/link-fragments to support id attributes on non-a elements. #2736
Labels
No labels
bug
enhancement
enhancement
enhancement
fixed in next
fixed in next
fixed in next
new rule
new rule
new rule
pull-request
question
refactoring
refactoring
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/markdownlint#2736
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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/DavidAnson/markdownlint/pull/539
Author: @MarkLodato
Created: 7/26/2022
Status: ✅ Merged
Merged: 7/28/2022
Merged by: @DavidAnson
Base:
next← Head:md051-arbitrary-tags-issue-538📝 Commits (1)
822b345Update MD051/link-fragments to supportidattributes on non-aelements.📊 Changes
5 files changed (+102 additions, -18 deletions)
View changed files
📝
demo/markdownlint-browser.js(+6 -6)📝
lib/md051.js(+6 -6)📝
test/link-fragments.md(+18 -0)📝
test/snapshots/markdownlint-test-scenarios.js.md(+72 -6)📝
test/snapshots/markdownlint-test-scenarios.js.snap(+0 -0)📄 Description
The
nameis only an anchor onaelements, butidis a universalattribute on all elements.
Fixes #538.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.