Corrected parsing bug on emphasis

Was causing infinite loop due to misconstructed check