Apply diff before we start inserting a non-breaking space
PEP8
Merge pull request #624 from khandelwal/sxs_sorting

Section header diffs are incorrect