[wp-trac] [WordPress Trac] #29142: wptexturize inconsistent with em dashes (sometimes returns -- as a single en dash)

WordPress Trac noreply at wordpress.org
Thu Aug 7 16:37:02 UTC 2014


#29142: wptexturize inconsistent with em dashes (sometimes returns -- as a single
en dash)
-----------------------------+-----------------------------
 Reporter:  andrealeebishop  |      Owner:
     Type:  defect (bug)     |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Formatting       |    Version:  trunk
 Severity:  normal           |   Keywords:
  Focuses:                   |
-----------------------------+-----------------------------
 http://codex.wordpress.org/Function_Reference/wptexturize

 When I add [https://cloudup.com/cUfB8EYZVWe this content] to the Text tab
 or Visual tab of the post, not all of the double dashes are returned as an
 em dash.

 Examples:
 http://andrealeebishop.wpsandbox.me/?p=49  (content
 https://cloudup.com/cUfB8EYZVWe )
 http://andrealeebishop.wpsandbox.me/?p=58   (content
 https://cloudup.com/cZFVkdUY7mM )

 It is repeatable, but difficult to narrow down for steps to reproduce.
 nbsp's show up around the single dash when Inspect Element is used.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29142>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list