Automattic / Automattic/harper
Google Docs: multi-line text does strange things
- Dominant language
- Rust
- Stars
- 15.4k
- Forks
- 627
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 106
Description
**Describe the bug**
Multi-line text in Google Docs with the Firefox extension doesn't detect separate paragraphs as separate sentences. It also sometimes thinks two words are squished together even when there's a line break between them (can't find anything to reproduce this at the moment, but I've seen it before—I'll update if I see it again).
**To Reproduce**
Steps to reproduce the behavior:
1. Make a Google Doc
2. Type text on multiple lines
3. Observe "sentence too long" warning
**Expected behavior**
Separate paragraphs should be treated as separate sentences
**Screenshots**
**Platform**
Firefox 148.0.2 (Zen 1.19.3b), macOS 26.4 Developer Beta
Contributor guide
Research direction
The issue names the Firefox extension and Google Docs as the entry points, but no files or tests. Reproduce the problem by typing text on multiple lines in a Google Doc, then verify that separate paragraphs are treated as separate sentences and that line breaks do not join words.
Written by the indexing model from the issue text.
Assessment
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100