react-native-simple-markdown
react-native-simple-markdown copied to clipboard
`views nested within a text must have a width and height` error on blockQuote's list
The code:
<Markdown whitelist={['em', 'strong', 'image', 'link', 'blockQuote', 'list']}>
> You don't need HTML:{'\n'}
> {'\n'}
> * a markdown{'\n'}
> * list in quotes{'\n'}
>
</Markdown>
The result:
+1
👍
+1
+1
+1
+1
EDIT: Seems like 1.0.60-rc.3
is broken and 1.0.60
is not available from npm. 🤷♂️
What an annoying problem indeed! I'll try to fix that in v1.1 but don't hesitate to send a PR if you've already done it!
This seems to be an error with the blockQuote
element itself that was introduced with a recent RN version. I'll try to fix that for v1.2 instead :)
+1
This has to do with nested bullets, but I have been unable to come up with a solution that preserves the layout of the markdown