[wp-trac] [WordPress Trac] #10687: Wordpress is not able to show 2 (--)hifens

WordPress Trac wp-trac at lists.automattic.com
Wed Aug 26 17:02:40 UTC 2009


#10687: Wordpress is not able to show 2 (--)hifens
--------------------------+-------------------------------------------------
 Reporter:  sergiorafael  |        Owner:         
     Type:  defect (bug)  |       Status:  closed 
 Priority:  normal        |    Milestone:         
Component:  General       |      Version:         
 Severity:  normal        |   Resolution:  invalid
 Keywords:                |  
--------------------------+-------------------------------------------------
Changes (by westi):

  * status:  new => closed
  * resolution:  => invalid
  * milestone:  Unassigned =>


Comment:

 This work is done by wptexturize and it is turning the double hyphen into
 an en-dash.

 If you want to disable this you have two options:

  * Wrap the text in <code></code> to mark it as code and it will not be
 converted.
  * Disable wptexturize for your site or for individual posts using
 something like http://alexking.org/projects/wordpress/readme?project=wp-
 unformatted

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10687#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list