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

node.toHTML() for factorial is not correct #1465

Closed
hanguokai opened this issue Apr 7, 2019 · 3 comments
Closed

node.toHTML() for factorial is not correct #1465

hanguokai opened this issue Apr 7, 2019 · 3 comments
Labels

Comments

@hanguokai
Copy link
Contributor

hanguokai commented Apr 7, 2019

math.js version 5.8.0

The result of math.parse('5!').toHTML() is !5 (<span class="math-operator math-unary-operator math-righthand-unary-operator">!</span><span class="math-number">5</span>) , but it should be 5!

@josdejong
Copy link
Owner

Thanks for reporting! I've fixed the issue via c155eb2.

@josdejong
Copy link
Owner

This should be fixed now in v5.9.0

@hanguokai
Copy link
Contributor Author

👍 🎉

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