Quote:
Originally Posted by MickDoneDee
Is there a version that doesn't alter the spaces within Code, PHP and Pre tags?
|
No.
It could theorhetically be done, but the additional overhead in doing so would hurt you in performance.
I'd need to regexp for <pre> and </pre>, chop those out, perform the strip, and put those backin... string concats and chops of that size is far more intensive than simply the current regexp for the strip.
Would people really want a solution that was heavier on the processing?