This project is read-only.

Some pre elements are missing xml:space="preserve"


Some <pre> elements are missing xml:space="preserve" so that formatting is correctly preserved in code examples, samples, and snippets. Without it, such content is rendered incorrectly in MS Help Viewer as it removes all whitespace between adjacent elements and everything runs together. In globalTemplates.xsl, main_sandcastle.xsl, utilities_dduexml.xsl, and utilities_reference.xsl search for "<pre" and insert the xml:space="preserve" attribute on any elements that are missing it. Also make sure the beginning pre tag, its content, and the ending pre tag are on one line to get rid of any leading and trailing whitespace. Do this in all three presentation styles.