Smarter collapseWhitespace - preserver space around inline tags