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

MathQuill garbles compound units like degC/min in ww version 2.18 #1084

Open
gajennings opened this issue Sep 17, 2023 · 0 comments
Open

MathQuill garbles compound units like degC/min in ww version 2.18 #1084

gajennings opened this issue Sep 17, 2023 · 0 comments

Comments

@gajennings
Copy link
Contributor

bugzilla bug report #4777 (see pull request 1083) reports a bug when MathQuill deals with compound units e.g. degC/min
In this case MathQuill changes degC to a unicode "degree Celsius" symbol and that, combined with the division symbol, seems to break the answer checker. I partly fixed the problem by making "degC" and "min" into MathObject variables so that entering degC/min using MathQuill's text mode works, but it requires text mode. This seems clunky.
There doesn't seem to be a way to fix this by using the macro parserNumberWithUnits.pl because that macro requires a number with units, and this problem asks only for the units.

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

1 participant