react-native-markdown icon indicating copy to clipboard operation
react-native-markdown copied to clipboard

Crash potential

Open lwansbrough opened this issue 9 years ago • 0 comments

There's a potential for application crashing if the Markdown code produces a structure like the following:

<Text>
  <View/>
</Text>

I've implemented a state property withinText (bool) which can be used for various logic related to text rendering - one of these cases should be checking if the current element will be rendered inside a <Text/> element.

lwansbrough avatar Apr 16 '15 06:04 lwansbrough