textlint-rule / textlint-rule-no-dead-link

textlint rule to check if all links are alive.
30 stars 11 forks source link

When fixing URLs with hashes, hashes are removed #107

Closed lilaconlee closed 6 years ago

lilaconlee commented 6 years ago

Running textlint --fix on

http://mochajs.org/#bdd 

Results in:

https://mochajs.org/
0x6b commented 6 years ago

@azu, could you kindly review my preliminary implementation for preserving hash component (#108)?

P.S. I'm slowly rebuilding my life after health issue. Sorry for long absence from contribution!

azu commented 6 years ago

@lilaconlee https://github.com/textlint-rule/textlint-rule-no-dead-link/releases/tag/4.4.1 preserve hash by default. Please try it.

lilaconlee commented 6 years ago

Works great!