Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix: Add support for checking HTML encoded section links #70

Merged
merged 1 commit into from
Jun 26, 2024

Conversation

gaurav-nelson
Copy link
Contributor

Description

The code changes introduce support for checking HTML encoded section links and include anchor names. This feature allows the program to accurately validate links within markdown files that contain encoded section IDs. The changes include modifications to the linkspector test suite and the checkFileExistence function in the check-file-links.js module.

Fixes #69

Type of Change

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

@gaurav-nelson gaurav-nelson force-pushed the anchor-with-a-false-positive branch from 6496fdb to 94a9098 Compare June 26, 2024 06:19
@gaurav-nelson gaurav-nelson force-pushed the anchor-with-a-false-positive branch from 94a9098 to 8ffb414 Compare June 26, 2024 06:19
@gaurav-nelson gaurav-nelson merged commit 05189f5 into main Jun 26, 2024
4 checks passed
@gaurav-nelson gaurav-nelson deleted the anchor-with-a-false-positive branch June 26, 2024 23:04
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Anchors made with <a> tags give false positives
1 participant