Microsoft has introduced a bug into most versions of Windows Internet Explorer whereby s/(\S)\s+([,.;:/]\S)/$1 $2/g
Now, web browsers usually stretch out a page horizontally to accomodate non-breaking spaces, and MSIE is no exception. So any user can stretch out a page on a site that allows comments posting by just inserting a "." (or , ; :
So what to do about it? I tried various things like converting spaces to other characters (like the new ‌, thanks TorgoX) but it didn't do the trick. The only thing that works is to either disallow such text, which is unreasonable -- we won't let Microsoft's bug dictate that people can't use PERIODS in their posts -- or we could match the pattern and insert an (yes, you're reading right, inserting a non-breaking space actually tells MSIE to break where it previously wasn't breaking! wooooo!), but that too is munging a user's comment text because of a Microsoft bug. It's less intrusive than disallowing overabundance of periods, but it is still annoying, and we don't want to do it.
And of course, we get a lot of people saying there's a "bug" in Slash. It is a bug in MSIE. There is no bug in Slash relating to this. To say otherwise means you are a liar, or you are ignorant.
So we are stuck with either munging user input or just letting Windows MSIE users deal with it, and optionally complain to Microsoft. For now, we've chosen the latter.
MSIE and spaces... (Score:1)
So in a site which otherwise completely passes xhtml and css validators... we had to break down and use nobr tags. *grumble*
I'm in a mood (Score:1)
What this has to do with Pudge's log entry is that my first response was going to
Re:I'm in a mood (Score:3, Funny)
Oh, wait. That was last month's issue. This month, you need to demonstrate that fixing this bug will prevent people from pirating digital audio and video from Disney.
Possible solution? (Score:2)
Found the jerk who's doing this on slashdot. Of course, as a mozilla user, it doesn't affect me.
What if you do something like put in a <br> every 20 words or so if the post exceeds a certain period to character ratio? It seems like there has to be some way to fix it.
Can a person use the foes system to make posts appear at -2? That might help moderators who browse at -1. (Wish I knew what that was like; 50-karma though I am, with almost half of my stories accepted, I never get to moderate slash
J. David works really hard, has a passion for writing good software, and knows many of the world's best Perl programmers
Re:Possible solution? (Score:1)
What annoys me about this one is that users can mess up a web page using only ASCII characters. No tags, no entities. Just plain text. That is so exceedingly lame, and I shouldn't have to bother with it. If it became a huge problem, we probably would do something, but it would be lame.
As to -2: no, -1 is the lowest. But yes, most users won't have to bother. If you want to view at -1 and use MSIE for Windows,