Fix for multiple whitespace characters appearing in the {content} tag