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

Parser is breaking when we are provinding some content <content> #1451

Open
NehaDelta opened this issue Jul 1, 2024 · 1 comment
Open

Parser is breaking when we are provinding some content <content> #1451

NehaDelta opened this issue Jul 1, 2024 · 1 comment
Assignees
Labels
question Further information is requested

Comments

@NehaDelta
Copy link

NehaDelta commented Jul 1, 2024

When I am proving some content between <> without space like <testing content> the parser is breaking & If I am providing < testing content > then it is working fine.

I am using with React 18.

@NehaDelta NehaDelta added the bug Something isn't working label Jul 1, 2024
@remarkablemark
Copy link
Owner

@NehaDelta this is because the parser treats any content between <...> as a custom element. My recommendation is to escape the < and > as &lt; and &gt;.

@remarkablemark remarkablemark added question Further information is requested and removed bug Something isn't working labels Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants