tldr-lint icon indicating copy to clipboard operation
tldr-lint copied to clipboard

New linter error if there is a hyphen character (‐, code point U+2010)

Open vitorhcl opened this issue 1 year ago • 2 comments

This character is visually the same as hyphen minus (‐, code point U+002D), so it's very hard to catch for humans.

vitorhcl avatar Feb 19 '24 14:02 vitorhcl

I am planning to implement such a check. Are you aware of any other hard-to-spot symbols that should be checked for? E.g. different types of space?

gutjuri avatar Mar 20 '24 14:03 gutjuri

I am planning to implement such a check. Are you aware of any other hard-to-spot symbols that should be checked for? E.g. different types of space?

I did some research on invisible character and there are many of them, not to tell other characters like those other quotes.

Maybe we could instead use an allowed set of characters for English pages?

vitorhcl avatar Mar 20 '24 15:03 vitorhcl