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

backslash escape does not work as expected

Open alexzobi opened this issue 5 years ago • 1 comments
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

alexzobi avatar May 05 '20 22:05 alexzobi

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

iamacup avatar May 12 '20 21:05 iamacup