Opened 18 years ago
Closed 17 years ago
#8161 closed enhancement (fixed)
Spaced hyphens into spaced dashes
| Reported by: | joshuagoodwin | Owned by: | joshuagoodwin |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.8 |
| Component: | General | Version: | 2.7 |
| Severity: | normal | Keywords: | has-patch tested |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Yes, yes, it's not in a .diff format. My sincere, sincere apologies for this. Changes in lines 47 & 48.