Section header diffs are incorrect

Section header (that have section signs) are incorrect because we insert a non-breaking space between the section sign and the rest of the text, and then do the diff. 

I reverse that order of operations in this pull request - and now the diffs display correctly.