Page MenuHomePhabricator

Double spaces not correctly highlighted in source view
Open, LowPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • Open the article Liberal (steamship) in source editing mode on the Wikipedia Android app
  • Search for double spaces
  • Observe the search bar shows "2/2" results
  • Only one instance is visibly highlighted in orange
  • When tapping to the second match, nothing is highlighted

What happens?:
Only one of the two double spaces is highlighted in the app. The second result does not visibly show any highlight or corresponding space.

What should have happened instead?:
Both double-space matches should be highlighted when navigating through the search results.

Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
r/2.7.50532-r-2025-05-20

Other information (browser name/version, screenshots, etc.):
A user shared a video recording of the issue: https://limewire.com/d/pRgWY#lXeSWpD74s