Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

backslash escape does not work as expected #146

Open
alexzobi opened this issue May 5, 2020 · 1 comment
Open

backslash escape does not work as expected #146

alexzobi opened this issue May 5, 2020 · 1 comment

Comments

@alexzobi
Copy link

alexzobi commented May 5, 2020

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
@iamacup
Copy link

iamacup commented May 12, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants