Automattic / Automattic/harper
Use curly, not straight quotes
- 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**
**Platform**
Only tested in Chrome
**Additional context**
https://www.typewolf.com/cheatsheet
Contributor 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