You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Invisible space characters are being inserted via copy/paste. I think a similar pattern to the DATEREPLACEMENT code could silently replace invisible space characters with regular space characters.
The DATEREPLACEMENT code could also be enhanced to replace em dashes with en dashes; I have fixed hundreds of errant em dashes in date ranges and other parts of short descriptions.
The text was updated successfully, but these errors were encountered:
NovemLinguae
added a commit
to NovemLinguae/shortdesc-helper
that referenced
this issue
Apr 11, 2024
I reported this in detail at https://phabricator.wikimedia.org/T358717 and at https://en.wikipedia.org/wiki/Wikipedia_talk:Shortdesc_helper#Shortdesc_helper_allowing_insertion_of_invalid_invisible_space_characters
Invisible space characters are being inserted via copy/paste. I think a similar pattern to the DATEREPLACEMENT code could silently replace invisible space characters with regular space characters.
The DATEREPLACEMENT code could also be enhanced to replace em dashes with en dashes; I have fixed hundreds of errant em dashes in date ranges and other parts of short descriptions.
The text was updated successfully, but these errors were encountered: