Opened 16 years ago
Closed 15 years ago
#8161 closed enhancement (fixed)
Spaced hyphens into spaced dashes
Reported by: | joshuagoodwin | Owned by: | joshuagoodwin |
---|---|---|---|
Milestone: | 2.8 | Priority: | normal |
Severity: | normal | Version: | 2.7 |
Component: | General | Keywords: | has-patch tested |
Focuses: | Cc: |
Description
We all know that "---" and " -- " are changed into em-dashes (—
), and that "--" is changed into an en-dash (—
). But another bit of formatting really ought to take place - space-surrounded hyphens, like that one, ought to be turned into en-dashes by wp-includes/formatting.php
. This is what Microsoft Word does, and - says Wikipedia - the style is adopted by many publishers. So this easy-to-implement feature really ought to be implemented - it happens with the likes of Textpattern.
Attachments (2)
Change History (7)
Note: See
TracTickets for help on using
tickets.
Yes, yes, it's not in a .diff format. My sincere, sincere apologies for this. Changes in lines 47 & 48.