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

replace non-breaking spaces with regular spaces #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

NovemLinguae
Copy link
Member

Must use RegEx so we can replace multiple in the same string

Tested in JS console but not tested in gadget

Fixes #17

Must use RegEx so we can replace multiple in the same string

Tested in JS console but not tested in gadget

Fixes wikimedia-gadgets#17
@Qwerfjkl
Copy link

Qwerfjkl commented Jul 31, 2024

Must use RegEx so we can replace multiple in the same string

Surely that's what replaceAll() is for?

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

Successfully merging this pull request may close these issues.

Invisible space characters are inserted via copy/paste
2 participants