Question: Why is white space stripped when pasting into this site?

The code I write is properly indented.  The operation of pasting it here strips the white space and makes it hard for the reader to comprehend the structure. Manually restoring the appropriate indentation is doable but tedious, made more so because the characters we see here are in a variable width font.  The rationale might be that, given a variable width font the indentation is going to be inconsistent, but that isn't the case if the preformatted style is used, which I do, for code.

Is there any way to turn off the white space stripping?  Presumably this is some ridiculous xml-based processing feature.

 

Please Wait...