Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 153 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

On the Revisions page for a post, you have the option of viewing the source. This feature takes you to a path ending in /view-source. My first impression of this feature was "Cool! I'm looking at the plain, unformatted text!"; the textarea input, if you will.

But! It is not only the source text. The /view-source page is a very simple HTML page which presents the source in a styled pre element.

The problem with this is that we end up with artificial line breaks (wrapping), as the source is constrained to a width of 650px using the white-space: pre-wrap property. So, at a glance, it appears that the line breaks are part of the actual source.

Can we change this? I expect to view the source and nothing else when I click "source".

Example: http://meta.stackoverflow.com/revisions/a6bacc34-0676-465e-9de7-d177eef2a03f/view-source

share|improve this question
    
What you say is true, but I don't see the value in implementing a change to "true source." – Pops Feb 8 '12 at 23:03
1  
Changing it to whites-space: pre means a lot of horizontal scrolling. I don't like horizontal scrolling. – Dennis Feb 8 '12 at 23:06
1  
It doesn't have to mean horizontal scrolling. Let's just "constrain" it to the entire page. – Ryan O'Hara Feb 9 '12 at 0:00

You must log in to answer this question.

Browse other questions tagged .