Normalize whitespace within code blocks