wikimedia-gadgets / shortdesc-helper

Gadget on the English Wikipedia.
8 stars 4 forks source link

replace non-breaking spaces with regular spaces #19

Open NovemLinguae opened 6 months ago

NovemLinguae commented 6 months ago

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

Tested in JS console but not tested in gadget

Fixes #17

Qwerfjkl commented 2 months ago

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

Surely that's what replaceAll() is for?