Made wmllint ignore UTF-8 minus signs when spellchecking.
This commit is contained in:
parent
2d5fbdf1b6
commit
464b1a5764
1 changed files with 1 additions and 0 deletions
|
@ -1944,6 +1944,7 @@ def inner_spellcheck(nav, value, spelldict):
|
|||
value = value.replace("\xe2\x80\x94", " ") # UTF-8 em dash
|
||||
value = value.replace("\xe2\x80\x93", " ") # UTF-8 en dash
|
||||
value = value.replace("\xe2\x80\x95", " ") # UTF-8 horizontal dash
|
||||
value = value.replace("\xe2\x88\x92", " ") # UTF-8 minus sign
|
||||
value = value.replace("\xe2\x80\x99", "'") # UTF-8 right single quote
|
||||
value = value.replace("\xe2\x80\x98", "'") # UTF-8 left single quote
|
||||
value = value.replace("\xe2\x80\x9d", " ") # UTF-8 right double quote
|
||||
|
|
Loading…
Add table
Reference in a new issue