Removed the CDATA `safe` block by default if a non-xhtml doctype was set.
Updated script block unit tests for doctype behavior changes