react-native-markdown-renderer
react-native-markdown-renderer copied to clipboard
backslash escape does not work as expected
trafficstars
code:
<Markdown>"7\. This is a random markdown item that looks like a list but I don't want it to be a list"</Markdown>
expected behavior:
7. This is a random markdown item that looks like a list but I don't want it to be a list
actual behavior (still a list item):
1 This is a random markdown item that looks like a list but I don't want it to be a list
according to CommonMark docs, the period after the "." should remain, but here it is removed. If I add an additional period after, the result is this:
7... This is a random markdown item that looks like a list but I don't want it to be a list
I just tested this and am pretty sure it works fine here https://github.com/iamacup/react-native-markdown-display but please let me know if not with a ticket over there