[wp-trac] [WordPress Trac] #8161: Spaced hyphens into spaced dashes

WordPress Trac wp-trac at lists.automattic.com
Tue Nov 11 20:52:33 GMT 2008


#8161: Spaced hyphens into spaced dashes
---------------------------+------------------------------------------------
 Reporter:  joshuagoodwin  |       Owner:  joshuagoodwin 
     Type:  enhancement    |      Status:  new           
 Priority:  low            |   Milestone:                
Component:  General        |     Version:                
 Severity:  trivial        |    Keywords:  formatting.php
---------------------------+------------------------------------------------
 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 -
 [http://en.wikipedia.org/wiki/Dash#En_dash_versus_em_dash 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.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/8161>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list