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

When I was answering this question I wanted to insert a link to ideone.com - where the code I wrote was used as a demonstration - and I encountered a message that said:

Please make your answer complete by including relevant, formatted code inline(don't just link to ideone.com):

Screenshot:

I could not put the link into the post because I would not be able to save it then. As I did not just link to ideone but also inserted the code the message seems misplaced to me.

Why is it there?

Edit

Although I cannot be sure it seems I was not the only one with this problem. The author of this answer to the same question seems to have used the same workaround as I did: Post the link as a comment.

share|improve this question
3  
Related: Prevent posts with links to jsfiddle and no code –  Bart Oct 28 '12 at 13:51
    
That does indeed seem to be quite harsh with the amount of code you have posted. From the question I linked above: "you'll be required to include some properly formatted code as well", which you seem to have done. –  Bart Oct 28 '12 at 13:52
1  
Other than the code block there is only really one line of text... Is that really enough to explain the issue? –  Lix Oct 28 '12 at 13:53
    
@Lix: Even if it is not enough text, the message only talks about code and not about other text. So the explanation would be misleading. –  Nobody Oct 28 '12 at 13:55
    
@Lix That is however not the cause of the problem. Without the link the OP was able to post it just fine. Unless there is some mysterious inconsistent post length enforcement for posts containing such links. –  Bart Oct 28 '12 at 14:00
    
This certainly should not happen, +1 and hope the devs will fix it quickly. –  Shadow Wizard Oct 28 '12 at 15:43

1 Answer 1

up vote 18 down vote accepted

This was a weird one. Looks like, due to a combination of factors, your C++ code block there was successfully parsed as a URL. Not as "containing a URL", but literally the whole thing as a single URL.

The "post code alongside ideone/jsfiddle links" check discards code blocks that only contain URLs, so you can't just post "Check out http://jsfiddle.net/my-code" or whatever.

The latest build has made that check considerably more conservative, so this shouldn't be happening anymore. Kind of amazing that it was happening in the first place, really.

share|improve this answer
    
Then it seems I got an (un)lucky hand there. –  Nobody Oct 28 '12 at 17:12
    
Also I just inserted the link into the question to test if it works. As it does: +1 and accepted (until a better answer emerges :) –  Nobody Oct 28 '12 at 17:16
    
Could this be a related issue? –  NullUserException อ_อ Oct 28 '12 at 17:58

You must log in to answer this question.

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