Autofix hook unexpectedly removed valid content in user_docs/en/userGuide.md

Open Beginner friendly
#21,085 7 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
67/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
markdown, python

Research direction

Inspect commit aa69ba2 in PR #20975 and the autofix hook that changed user_docs/en/userGuide.md. Compare the removed lines with the surrounding bullet list to identify why valid text was deleted. Done means the hook preserves that content and only makes the intended newline change; the payload does not name a test or hook entry point.

Written by the indexing model from the issue text.

Description

needs-technical-investigation p5 triaged
Steps to reproduce

See commit aa69ba2 in PR #20975.

Actual behavior

The diff shows that many lines of valid text have been removed.

Expected behavior

The hook should probably only have added an empty newline before the bullet list.

NVDA logs, crash dumps and other attachments

N/A

System configuration
NVDA installed/portable/running from source

N/A

NVDA version

Commit aa69ba2 , based on a recent alpha (a4a89720ccbf3973a0e1e50a76dd8bff38db3d15).

Windows version

N/A

Name and version of other software in use when reproducing the issue

N/A

Other information about your system

N/A

Other questions
Does the issue still occur after restarting your computer?

N/A

Have you tried any other versions of NVDA? If so, please report their behaviors

No

If NVDA add-ons are disabled, is your problem still occurring?

N/A

Does the issue still occur after you run the System Accessibility Repair Tool in NVDA's tools menu?

N/A

Dominant language
Python
Stars
2.7k
Forks
842
Avg merge
2d 4h
Merged PRs (30d)
56

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from nvaccess/nvda

All issues in nvaccess/nvda

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.