Skip to content

Editor: straight quotes don't filter to curly quotes on publish as expected #3353

@lancewillett

Description

@lancewillett

Issue Overview

An amazing feature of the WordPress editing experience is you can enter "dumb" quotes, aka straight quotes or primes — and when the post is filtered for view with wp_texturize they automagically turn into curly quotes for proper typography.

Steps to Reproduce (for bugs)

  1. Make a new post with Gutenberg, I tested with v 1.6.1 and WP trunk (latest Safari on macOS)
  2. Publish and view the resulting post in the front-end

Expected Behavior

I expected ' to turn into ’ and " to turn into ”.

Current Behavior

Instead, the quotes stayed the same (straight primes).

Possible Solution

I'm not sure, but it could have to do with Gutenberg post content not being filtered properly through the built-in WP texturize functions.

Screenshots

Gutenberg editor view
screen shot 2017-11-06 at 09 58 41

After publishing on the front-end
screen shot 2017-11-06 at 09 59 02

Related Issues and/or PRs

Noticed this when debugging punctuation weirdness on https://ma.tt/2017/11/new-backpack-aer-fit-pack/

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Feature] Writing FlowBlock selection, navigation, splitting, merging, deletion...[Type] BugAn existing feature does not function as intended

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions