react-native-render-html
react-native-render-html copied to clipboard
Numbered list and text not aligning when rendering
Decision Table
- [X] My issue does not look like “The HTML attribute 'xxx' is ignored” (unless we claim support for it)
- [X] My issue does not look like “The HTML element
<yyy>
is not rendered”
Good Faith Declaration
- [X] I have read the HELP document here: https://git.io/JBi6R
- [X] I have read the CONTRIBUTING document here: https://git.io/JJ0Pg
- [X] I have confirmed that this bug has not been reported yet
Description
Numbered list is always showing like this for me. Is there a prop or an example I can use to add some padding to the text may be?
React Native Information
"react-native": "0.64.2",
RNRH Version
6.3.4
Tested Platforms
- [X] Android
- [X] iOS
- [ ] Web
- [ ] MacOS
- [ ] Windows
Reproduction Platforms
- [ ] Android
- [ ] iOS
- [ ] Web
- [ ] MacOS
- [ ] Windows
Minimal, Reproducible Example
export function htmlViewer(props) {
return (
<HTML
enableExperimentalBRCollapsing={true}
tagsStyles={{
span: theme.textAlignLeft,
p: theme.textAlignLeft,
}}
source={{ html: props.source }}
onLinkPress={props?.linkpressed}
/>
);
}
Additional Notes
No response