I only briefly scanned this and thought it worth mentioning: using an <i> tag is no longer a valid way to present italics in an HTML file. Italics now use <em> and any converter that is converting an <i> tag to a span is doing what it should (since it's inline within a paragraph). Try using <em> instead and see if the problem persists