wordpress-mobile / WordPress-Android

WordPress for Android
http://android.wordpress.org
GNU General Public License v2.0
2.96k stars 1.31k forks source link

Color of text highlight is not rendered correctly. #20904

Open develric opened 4 months ago

develric commented 4 months ago

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

dangermattic commented 4 months ago

Thanks for reporting! 👍

RenanLukas commented 4 months ago

Waiting for discussion p1717042685846709/1716990291.739429-slack-C01CW1VMLAF