Automattic / Automattic/harper

Use curly, not straight quotes

Open
#1,877 10 comments 2 reactions 0 assignees View on GitHub
enhancement linting punctuation
Dominant language
Rust
Stars
15.4k
Forks
627
Avg merge
1d 12h
Merged PRs (30d)
106

Description

**Describe the bug**
Haper should use “curly” or “typographer’s” quotes, not "straight" or "dumb" quotes in suggestions.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to https://writewithharper.com/
2. Click on the second suggestion, Word Choice - “That s”
3. Click the button Replace "That s" with "That's"
4. Harper erroneously uses straight quotes, not curly qutoes

**Expected behavior**
Haper should use “curly” or “typographer’s” quotes, not "straight" or "dumb" quotes.

**Screenshots**

Image

**Platform**
Only tested in Chrome

**Additional context**
https://www.typewolf.com/cheatsheet

Contributor guide

Open the contributing guide

Research direction

Reproduce the replacement flow at https://writewithharper.com/ in Chrome, using the second Word Choice suggestion for “That s”. The payload names no source file or test, so trace that suggestion and its replacement path first; done means the replacement uses curly quotation marks rather than straight quotes.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.