Closed abramovks closed 2 years ago
<yyy>
Hello. tag is not rendered This tag was added by React Jodit editor in the administrative panel. And text didn't render in react-native.
Solved by replacing String.replaceAll('<font', '<span').replaceAll('</font', '</span')
"react-native": "0.65.1"
"react-native-render-html": "^6.2.0"
<RenderHtml contentWidth={width} source={{ html: "Test" }} />
No response
@abramovks Hi @abramovks! I am going to close because this issue is a duplicate of #405.
<font> is an HTML4, deprecated tag. See #405 for a detailed explanation and a solution.
<font>
Decision Table
<yyy>
is not rendered”Good Faith Declaration
Description
Hello. tag is not rendered This tag was added by React Jodit editor in the administrative panel. And text didn't render in react-native.
Solved by replacing String.replaceAll('<font', '<span').replaceAll('</font', '</span')
React Native Information
RNRH Version
"react-native-render-html": "^6.2.0"
Tested Platforms
Reproduction Platforms
Minimal, Reproducible Example
<RenderHtml contentWidth={width} source={{ html: "Test" }} />
Additional Notes
No response