wordpress-mobile / wordpress-mobile/WordPress-Android

Extra spacing after an apostrophe in Reader

Open
#15,522 11 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

[Pri] Low [Type] Bug Reader
Dominant language
Kotlin
Stars
3.2k
Forks
1.4k
Avg merge
1d 11h
Merged PRs (30d)
69

Description

Reported here: 4419167-zd-woothemes

Expected behavior

I would expect there isn't an extra spacing after an apostrophe for content displayed in the Reader.

Actual behavior

There's an extra space added to the content after an apostrophe.

wp-1635822993593

Steps to reproduce the behavior
  1. On the Reader, look for a post that contains content with an apostrophe.
  2. Noticed that there's an additional space added after the apostrophe.
Tested on Huawei Nova 2i, Android 9, WPAndroid 18.4

Also reproducible on Pixel 3, Android 11 and 12, WPAndroid 18.5-rc-2, Android System WebView 95.0.4638.74
Internal Slack discussion thread: p1635768602006700-slack-C02A4RLLV

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue in the Reader with post content containing an apostrophe, using the Android devices or versions listed in the report. Trace the Reader rendering path and verify that the displayed content no longer adds an extra space after the apostrophe.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.