Page MenuHomePhabricator

IABot 2.0beta14 removes intentional   from link title
Open, Needs TriagePublic

Description

Here the bot converted

561 kB

into

561 kB

The non-breaking whitespace was placed there intentionally and should have been preserved.

Event Timeline

Cirdan created this task.May 6 2019, 5:47 PM
Restricted Application assigned this task to Cyberpower678. · View Herald TranscriptMay 6 2019, 5:47 PM
Restricted Application added a subscriber: Cyberpower678. · View Herald Transcript
Cyberpower678 closed this task as Invalid.May 26 2019, 3:37 PM

It didn't remove the non-breaking whitespace, it just decoded it. It's still a non-breaking whitespace. IABot decodes HTML entities for technical reasons.

Cirdan reopened this task as Open.May 31 2019, 10:38 AM

It is nevertheless causing users to assume that IABot removed the non-breaking whitespace and it obscures the fact that there is a non-breaking whitespace in the sourcecode. Would it be feasible for IABot to encode whitespaces and other "invisible" characters within template parameters?

That would mean I would need to map every invisible character. This creates code bloat and I would need to find out what every whitespace out there even looks like in it's encoded form. I really think this would be better served by creating an FAQ entry about this instead. I have been grinded on in the past for leaving behind HTML entities rather than decoding them.