Automattic / Automattic/harper

Adding lots of line breaks to text area

Open
#2,071 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Rust
Stars
15.4k
Forks
627
Avg merge
1d 15h
Merged PRs (30d)
106

Description

**Describe the bug**
https://www.linkedin.com/posts/-garypalmer_another-day-another-stepwise-change-more-ugcPost-7381969261562478592-_AAc go to this post in Firefox 143.0.4 (aarch64) and try to comment "ga", as two letters doesn't mean anything I think Harper tries to underline it as error but instead adds lots of empty line breaks at the end, like almost infinite amount.

**To Reproduce**
Steps to reproduce the behavior:
1. In Firefox 143.0.4 (aarch64) go to https://www.linkedin.com/posts/-garypalmer_another-day-another-stepwise-change-more-ugcPost-7381969261562478592-_AAc
2. Click on comment box
3. Type "ga" (2 letters, I think anything will work that is grammatically not meaningful)
4. See error

**Expected behavior**
Drawing underline as error

**Screenshots**
![Image](https://github.com/user-attachments/assets/dc1604e5-7262-491d-80b1-bdfe25524c5e)

**Platform**
MacBook M1 Pro - macOS 15.7.1 (24G231) - Firefox 143.0.4 (aarch64)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue at the linked LinkedIn post in Firefox 143.0.4 on macOS, following the comment-box steps and typing "ga". Trace the textarea integration responsible for rendering grammar errors; done means the text remains unchanged apart from the expected underline and no extra line breaks are inserted.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.