Is there any way to have a dash ( – ) that wont break the word if it’s ending a line? (Just like prevents a line break between two words)
The problem that I currently have is a blog post (dynamic) that has the word X-Ray in it. Sadly, it falls on the end of a line so I get
Lorem ipsum dolor si amet X-
Ray
I would like to prevent that, and get a result like this
Lorem ipsum dolor si amet
X-Ray
I can’t just <br /> everything, because depending on where you are on the website, it won’t be stuck in that position everywhere.
Try a non-breaking hyphen,
‑Info at http://www.fileformat.info/info/unicode/char/2011/index.htm