wordpress-mobile / wordpress-mobile/WordPress-Android

Color of text highlight is not rendered correctly.

Open
#20,904 2 comments 0 reactions 1 assignee View on GitHub

@RenanLukas is already working on this.

Since Jun 5, 2024.

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

Description

Expected behavior

When reading a post with background highlight, colors should be rendered correctly.

Actual behavior

When reading a post with background highlight, colors are not rendered correctly. This was noticed with green being rendered as orange and it seems to affect android, ios and the web reader. Most probably a shared CSS or API issue. Note that the colors are correct when opened on web browser.


Web browser post (the expected colors)

https://test0120031.wordpress.com/2024/05/29/testing-highlighting/

image

Web reader

https://wordpress.com/read/blogs/171903490/posts/220

image

JP Android

image
Steps to reproduce the behavior

Use the provided link to open the post in the various platforms and check the color are not correct.

Tested on [S23], Android [Android 14], JPAndroid / WPAndroid [24.9]

Twin iOS issue

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.