« August 25, 2009 | Main | August 30, 2009 »

August 27, 2009

Safari bug report

How to get past Apple’s profanity filters (just in case they have any) in Safari bug reports:

[Edited version in case you have filters. I trust you’ll get the gist of the original.]

When I copy code from a <pre> tag, Safari inserts artificial (they’re not in the page source) non breaking spaces where lines are indented.

[all capitals]This is the most [mean word for “not very wise”] thing to do [lots of exclamation marks][/all capitals] because usually, you have code inside <pre> tags. And compilers and interpreters don’t like it when spaces are replaced by non-breaking spaces, and it gives rise to errors you can’t easily see the origin of, and it’s incredibly [expression that pictures private properties reduced in powder].

I should write a filter that does this automatically.

Do not meddle in the affairs of Coding Ninjas, for they are subtle and quick to anger.