I want to attribute quotes properly, but sometimes when I'm typing in Word, the quote will end right before the end of a line, putting the em dash there and pushing the actual name to the next line. I know about non-breaking spaces for in between two words by pushing Alt+0160, but I don't want a space after my dash. This also happens with number ranges where the numbers get nonideally separated.
Is there a way I can stop this from happening?