Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Repetition based rule does not function across new lines #865

Open
1 task done
SecondSkoll opened this issue Jul 9, 2024 · 0 comments
Open
1 task done

Repetition based rule does not function across new lines #865

SecondSkoll opened this issue Jul 9, 2024 · 0 comments

Comments

@SecondSkoll
Copy link

Check for existing issues

  • Completed

Environment

Testing performed in Vale Studio and on Linux via Python install.

Describe the bug / provide steps to reproduce it

When a repeated word is separated by a line break, Vale does not report the word as repeated - even if a line break is the only character between them.

A simple modification to the library repetition example can test this, here is a link to it in Vale Studio. Does not function in raw scope either.

Repeated words can occur frequently with documents written in non-wrapping IDEs, so I would expect Vale to pick these cases up - but I may be incorrect about this (though it's not mentioned in the documentation). From a brief look at the codebase this might have been in place to address this, and might not be working, but I really don't know Golang very well and can't say for sure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant