[wp-trac] [WordPress Trac] #44448: French Smart Quotes don't close properly most of the times

WordPress Trac noreply at wordpress.org
Mon Jun 25 00:11:22 UTC 2018


#44448: French Smart Quotes don't close properly most of the times
-------------------------------+------------------------------
 Reporter:  Trollivier         |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Formatting         |     Version:  0.71
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------
Changes (by knutsp):

 * version:  4.9.6 => 0.71


Comment:

 Replying to [ticket:44448 Trollivier]:
 > Half the time, when I use quotes, they are replaced by French smart
 quotes. The opening quote is always ok, but the closing ones are wrong
 half the time. It is excessively infuriating as I don't know how not to
 use Smart Quotes.
 >
 > See example below :
 >
 > --- remplacer « femmes » par « parents«. ---

 I can confirm the smart quotes will behave strangely, almost
 unpredictable, if there is a ''space'' after the opening quote, or before
 the closing quote, in the source text.

 The quote replacements lies in the function called by the filter
 `run_wptexturize`, has been with WordPress since before version 1.0 and
 can be disabled or replaced.

 Have you tried without spaces? I mean writing `remplacer "femmes" par
 "parents"`. When I do, no active plugins, the result is `remplacer
 «femmes» par «parents»`.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/44448#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list