resolves #564 & #936 - constrain subscript & superscript markup

- supscript & superscript only span non-whitespace characters
Merge pull request #1007 from mojavelinux/issue-564

resolves #564 & #936 - constrain subscript & superscript markup