Thanks for taking the time to read the article kryptx. You're absolutely right. I maintain linebreaks in the cascade stylesheet by setting whitespace as pre:
I also apply the nl2br function to the whole post which adds extra line breaks into the code tags.
The best way of dealing with it is probably just deleting whitespace:pre from the stylesheet. Thanks for picking up on the error!

hi tayfun, I can't say I've ever seen that error before. I thought at first you may have copied the function into your script twice but on testing this I don't get an error.
You could try using
function_exists and before declaring the function and see what it comes back with. Not much else I can suggest I'm afraid.