Fix inline markup recognition.