Posted April 9th, 2005 @ 09:49am by Erik J. Barzeski
It's long pissed me off, but I've never had the time to write about it. I don't so much have the time now, but the "pissiness" has reached critical mass, so to speak.
Safari's table-copying sucks. Here, go ahead, try it out:
I would expect Safari to copy that with tabs and line breaks so that, when pasted, the result might look something like a table (bear in mind I have no idea how tabs in
<pre> appear in your browser, but it should look fine):
Pos Player Today Thru Total 1 DiMarco -1 6 -5 T2 Donald -5 7 -4 T2 Allenby -1 8 -4 T4 Moore -3 10 -3 T4 Woods -5 14 -3
What does it do instead?
Yeah, that's real frickin' helpful. Copied table text such as this, which I commonly use to create leaderboards at The Sand Trap, go through a BBEdit cycle that looks like this:
- Turn off soft wrapping (on by my default).
- Find '\r\r', replace with '@'
- Find '\r', replace with about ten spaces.
- Find '@', replace with '\r'
- Make the columns line up (column selection/deletion is only available when soft wrapping is disabled).
It's a far more tedious process than it need be, and Safari's copy results hardly represent the look and feel of a table. This isn't hard, and I remain hopeful that it's fixed. Soon!