Putting two dashes on a page sometimes, like this -- in rare occassions messes the HTML up.
For instance, if you enter -- into your Wordpress blog it'll actually munch it into a single -. This doesn't work well for code that requires --options --to --be --specified --this --way.
The HTML entity for – is &ndash and the longer — is — but what is the HTML entity to enter NORMAL DASH - in a page?
This should do it. It's not listed as a dash, you need to find a place that lists it as the minus sign.
Code block shows code:
-
In use: - (-)
Double: -- (--)
EDIT: My source for this answer.
This tool makes it easy to find (instead of looking through a chart): http://amp-what.com/#q=dash
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With