Fixes #6437 Fixes #4731 Closes #4737 Whitespace is now untouched inside <pre> tag and other tags if preserveWhitespace is true