Opened 5 years ago
Closed 4 years ago
#8161 closed enhancement (fixed)
Spaced hyphens into spaced dashes
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 2.8 |
| Component: | General | Version: | 2.7 |
| Severity: | normal | Keywords: | has-patch tested |
| 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)
comment:1
joshuagoodwin — 5 years ago
- Owner joshuagoodwin deleted
joshuagoodwin — 5 years ago
- Keywords has-patch added
- Milestone set to 2.8
- Version set to 2.7
There you go.
comment:3
joshuagoodwin — 4 years ago
- Owner set to joshuagoodwin
- Priority changed from low to normal
- Severity changed from trivial to normal
- Keywords tested added; formatting.php removed
comment:5
automattor — 4 years ago
- Resolution set to fixed
- Status changed from new to closed
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.