What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 127 Stack Exchange communities.

Jeff tagged this bug as , and said:

because we loop through comments on the fly for rendering anyway, we are now force-inserting a soft hyphen boring unicode spaces every so many characters without a space. So this should be truly fixed now.

But it doesn't look that way from here:

enter image description here

(Chrome 18/IE8/FF 9 on Windows 7)


To reproduce this, you need a comment with a large number of apostrophes. If you insist on trying it out, you'll of course use the Sandbox for that.

''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
share|improve this question
    
This is a comment containing some actual text. This should wrap correctly and not cause any problems, but I can insert comments that break everything. Just wait. –  NullUserException อ_อ Apr 6 '12 at 16:25
    
Odd; I've tested before and then only found issues in Firefox. Today, this very question shows that things have changed, in either SE or in Chrome? (My Chrome failed me too with the original troublesome comment that has meanwhile been changed. But I did not validate if the soft-hyphens are actually there.) –  Arjan Apr 6 '12 at 16:30
4  
I deleted that BS. Problem is known, so might as well not break the page, hmm? –  balpha Apr 6 '12 at 16:33
    
@Arjan It's because of my comment containing all the apostrophes. That was breaking everything, but balpha deleted it. –  NullUserException อ_อ Apr 6 '12 at 16:33
    
Overexpands the mobile version. Makes it fat. –  Manishearth Apr 6 '12 at 16:35
    
@minitechη You need 500 apostrophes. –  NullUserException อ_อ Apr 6 '12 at 16:48
add comment

2 Answers

up vote 16 down vote accepted

So, you intentionally try and break the page rendering by inserting useless strings of nonsense text in the comments, and then complain when your attempts succeed?

                 Doctor, it hurts when I do this. Then don't do it.

share|improve this answer
4  
Perfect response. +1 –  Manishearth Apr 6 '12 at 16:37
2  
Wouldn't it be nice if software didn't let you intentionally break things? –  NullUserException อ_อ Apr 6 '12 at 16:38
1  
Not really, @Null. Then we couldn't have any fun. There will always be more ways to break things if you go looking for them than there are fixes. And as usual, it's a case of intelligently allocating limited resources. –  Cody Gray Apr 6 '12 at 16:39
10  
Precisely; especially since there is no valid use case for any comment that tricks the auto-whitespace insertion (there are just a few cases where that's happening). If a user insists on posting a comment containing 500 apostrophes, that might as well break the page to make us notice that there's a misbehaving user here. –  balpha Apr 6 '12 at 16:41
    
Problem is more that there's no valid use case for this, but I agree with the general sentiment –  Ben Brocka Apr 6 '12 at 16:54
1  
@Ben /me goes and invents,a new language, based on Whitespace architecture. /me calls it Apostrophe. /me uses it in comments on questions pertaining to the language There's your use case ;-). –  Manishearth Apr 6 '12 at 17:04
2  
@Manishearth Already addressed elsewhere on Meta: lengthy code snippets don't belong in comments. :-) –  Cody Gray Apr 6 '12 at 17:05
12  
For the record: I intend to fix this, I'm just not excited enough to consider it high priority. –  balpha Apr 6 '12 at 17:06
5  
@balpha until you fix it, Woodstock won't be able to use this site. Please think of the birds. –  Ben Brocka Apr 6 '12 at 19:22
2  
@BenBrocka: ''' '''''' '' '' '' '''' '''''' ' ' (Thank you in Woodstock-ese) Anyway, Woodstock uses spaces as well (IIRC). =P –  Manishearth Apr 7 '12 at 4:11
add comment

The boring unicode spaces weren't inserted at places within the string that contained special characters, i.e. characters that either have a special meaning in MarkdownMini, or those that get HTML-encoded. Since your comment solely consisted of characters in the second group, nothing was inserted. This is fixed in the next build.

Cody's answer is still valid, though.

share|improve this answer
add comment

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .