When writing a publishing posts, would I be correct in assuming that writing a single hypen would produce a regular a hypen, "--" would produce an en dash and "---" would produce an em dash?
When writing a publishing posts, would I be correct in assuming that writing a single hypen would produce a regular a hypen, "--" would produce an en dash and "---" would produce an em dash?
em dash = — ;
en dash = – ;
both without the space before the ;
Jewels
You are correct (assuming you are running WP 1.5.2 or 2.0 and have not hacked your functions-formatting.php file)
one - = -
two - = —
three - = –
if you want to turn it off you need to comment out the following lines from functions-formatting.php
<code>
$curl = str_replace('--', '& #8211;', $curl);
$curl = str_replace('---', '& #8212;', $curl);
$curl = str_replace(' -- ', ' & #8212; ', $curl);
</code>
note no space between & and #
Wow, I've been putting it in the hard way all this time? LOL
This topic has been closed to new replies.