NBSP away

This commit is contained in:
Juhani Krekelä 2024-07-30 00:39:18 +03:00
parent bdfda5ff5b
commit 1b626bfdcb

View file

@ -16,7 +16,7 @@ for (const link of document.getElementsByTagName('a')) {
if (target === '') { if (target === '') {
continue; continue;
} }
for (const [regex, replacement] of rewriteRules) { for (const [regex, replacement] of rewriteRules) {
target = target.replace(regex, replacement); target = target.replace(regex, replacement);
} }
if (target !== link.href) { if (target !== link.href) {