Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: manuzhang/mkdocs-htmlproofer-plugin
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.4.0
Choose a base ref
...
head repository: manuzhang/mkdocs-htmlproofer-plugin
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.4.1
Choose a head ref
  • 3 commits
  • 5 files changed
  • 3 contributors

Commits on Oct 27, 2025

  1. Configuration menu
    Copy the full SHA
    6f71611 View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2026

  1. Fix anchor validation for HTML name attribute (#89) (#94)

    This commit fixes issue #89 where anchor validation fails on links like
    `../file.md#anchors` when the anchor is defined using HTML `<a name="...">`
    tags instead of `<a id="...">` tags.
    
    Changes:
    - Updated HTML_LINK_PATTERN to match both 'id' and 'name' attributes
    - Changed from greedy to non-greedy matching to handle multiple anchors
      on the same line
    - Modified contains_anchor() to use re.findall() instead of re.match()
      to find all anchors on a line
    - Added comprehensive test cases for HTML anchors with both id and name
      attributes, including anchors in table cells and with dots in names
    
    The fix is backward compatible and handles:
    - Legacy <a name="..."> tags (commonly used in tables)
    - Modern <a id="..."> tags
    - Multiple anchors on a single line (e.g., in table rows)
    - Anchors with special characters like dots (e.g., REGISTER.FIELD1)
    
    Fixes #89
    
    Co-authored-by: Claude <[email protected]>
    manuzhang and claude authored Jan 22, 2026
    Configuration menu
    Copy the full SHA
    5621b23 View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2026

  1. Release 1.4.1

    Co-Authored-By: Claude <[email protected]>
    manuzhang and claude committed Jan 23, 2026
    Configuration menu
    Copy the full SHA
    a2e5f2e View commit details
    Browse the repository at this point in the history
Loading