Fixes issue with display of html versions with manual numbering where numbers not appearing at start of heading text were being extracted.

https://www.pivotaltracker.com/story/show/56344590