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

When someone posts a rather long code fragment in chat it is shortened and a link to a separate page is created. The linked page is send as text/plain. But the code is escaped as HTML.

This makes the code hard to read. It is not necessary.

Example

share|improve this question
    
+1 And Gists are pasted as full link, which may take another whole screen height. –  kaiser Apr 20 '12 at 10:57
1  
What do you mean "a link to a separate page is created"? A "show more" link is created, which you click to expand the shortened post. You're never supposed to directly see the page you've linked to. –  Tim Stone Apr 20 '12 at 11:07
1  
I open long code blocks in a separate tab. Didn't even know it opens inline too. –  toscho Apr 20 '12 at 11:09
    
I misread the title as "Useless escaping in cheat codes" –  BoltClock's a Unicorn Apr 20 '12 at 14:42

1 Answer 1

up vote 6 down vote accepted

The intended scenario there is that the sample is opened inline via the expansion link provided, hence why it is formatted . I'm not sure it ever occurred to me that people would try opening it as a separate page. However, what you say is not an unreasonable usage. I'll see what we can do.

share|improve this answer
    
Okay, I hold my breath now. :) –  toscho Apr 20 '12 at 13:28
    
I personally tend to ctrl-click any link that comes my way--remember, I don't know what the link does till I click it. If I don't want to lose my place in a particularly long page(chat transcripts etc), then I'll first ctrl-click on a link. If it turns out to be a JS link, then I'll normal click it. But that's just me :P –  Manishearth Apr 20 '12 at 16:11
1  
@Manishearth then it is a good job it now works! –  Marc Gravell Apr 20 '12 at 16:16
    
@Marc yep, thanks :) –  Manishearth Apr 20 '12 at 16:16
    
Cool, thanks @MarcGravell! –  toscho Apr 21 '12 at 1:07

You must log in to answer this question.

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