Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 158 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

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.


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
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
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
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
@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 .