meliorence / react-native-render-html

iOS/Android pure javascript react-native component that renders your HTML into 100% native views
https://meliorence.github.io/react-native-render-html/
BSD 2-Clause "Simplified" License
3.48k stars 588 forks source link

<sup> looks just like <sub> #667

Open rjapenga opened 3 months ago

rjapenga commented 3 months ago

Decision Table

Good Faith Declaration

Description

works just like on both Android and iOS in 6.3.1

See snack: https://snack.expo.dev/@rjapenga/superscript

React Native Information

confer snack

RNRH Version

6.3.1

Tested Platforms

Reproduction Platforms

Minimal, Reproducible Example

https://snack.expo.dev/@rjapenga/superscript

Additional Notes

Simple to reproduce

qwertychouskie commented 1 month ago

For those who got confused reading the Description section, I'm pretty sure it's supposed to say this:

<sup> works just like <sub> on both Android and iOS in 6.3.1

GitHub "helpfully" interpreted the <sup> and <sub> tags, making for a confusing bug report.

FWIW, I tested the linked snack with 6.3.4 and it had the same issue.

I think this issue may be related to https://github.com/meliorence/react-native-render-html/issues/76. See also this commit: https://github.com/meliorence/react-native-render-html/commit/002b7fbc63731e7050dd3c64509383821b5cf0fd

qwertychouskie commented 1 month ago

Relevant upstream issue: https://github.com/facebook/react-native/issues/30375

@jsamr Perhaps the FAQ should be updated to point to that upstream issue link. Right now it points to a defunct page.

EDIT: Snack that may be useful later: https://snack.expo.dev/11Yj2nxiXyE1UY1F7wID8

jsamr commented 1 month ago

@qwertychouskie Sure! PR welcomed.

rjapenga commented 1 month ago

For those who got confused reading the Description section, I'm pretty sure it's supposed to say this:

<sup> works just like <sub> on both Android and iOS in 6.3.1

GitHub "helpfully" interpreted the <sup> and <sub> tags, making for a confusing bug report.

FWIW, I tested the linked snack with 6.3.4 and it had the same issue.

I think this issue may be related to #76. See also this commit: 002b7fb

Yes - sorry that I didn't notice how "helpful" gitHub was.

rjapenga commented 1 month ago

If I understand all of this (mostly shorthand to me), you are saying that the bug is upstream and must be fixed by React Native. Is that correct? How does one notify Meta of this bug or is it already logged as a React Native bug? 30375 is listed as Android. I see the bug on iOS and Android.