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

.validate() false positive #336

Closed
5 of 6 tasks
jan-macek opened this issue Apr 14, 2021 · 2 comments
Closed
5 of 6 tasks

.validate() false positive #336

jan-macek opened this issue Apr 14, 2021 · 2 comments
Labels

Comments

@jan-macek
Copy link

  • Are you running the latest version?
  • Have you included sample input, output, error, and expected output?
  • Have you checked if you are using correct configuration?
  • Did you try online tool?

Description

Input

<audio src="https://example.com/example.mp3"/>text

Code

const parser = require('fast-xml-parser');
console.log(parser.validate('<audio src="https://example.com/example.mp3"/>text'));

Output

true

expected data

false

Would you like to work on this issue?

  • Yes
  • No

Bookmark this repository for further updates.

@github-actions
Copy link

I'm glad you find this repository helpful. I'll try to address your issue ASAP. You can watch the repo for new changes or star it.

@amitguptagwl
Copy link
Member

fixed in v4

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

No branches or pull requests

2 participants