blocks to the clipboard correctly?
We\'ve noticed that IE7 has an odd behavor with code blocks posted on Stack Overflow. For example, this little code block:
public PageSizer(string href, int inde
bad news : none of the proposed fixes work. Modifying prettify.js around line 1000
html.push(htmlChunk.replace(newlineRe, '\n'));
This causes double-spacing in other browsers, and still doesn't solve the IE7 copy to notepad problem! So even if I selectively detected IE7, this "fix" doesn't fix anything.
I guess maybe it is simply a bug in IE7 having to do with JavaScript rebuilding a element -- no matter how many \n newlines I put in there, nothing changes w/r/t to the paste to notepad behavior.