-
Notifications
You must be signed in to change notification settings - Fork 128
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
revenue, net_income and other properties of info_box are wrongly parsed when they follow USD template without space #375
Labels
Comments
hey @nico008 good find. let doc = wtf(`[[US]]9999.2`)
console.log(doc.text())
// 'US.2' will take a look, thanks. |
spencermountain
added a commit
that referenced
this issue
Jun 29, 2020
Thank you! Could you give an ETA when a new version would be available? |
next week |
got this on my list to do tomorrow |
Merged
released as 8.4.0 |
Hi @spencermountain, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi spencermountain,
It's been a while!
I believe I just found a problem on version 8.3:
In some cases, the parser will return USD.627 billion instead of USD115.627 billion.
Example:
https://en.wikipedia.org/w/index.php?title=JPMorgan_Chase&action=edit
Could it be because there is no space between the USD template and the number?
Example:
| revenue = {{increase}} [[United States dollar|US$]]115.627 [[Billion (short scale)|billion]]
I suspect this problem also apply to other templates, potentially out of the Infobox as well.
I would really appreciate if this could be fixed.
Thanks a lot!
Nicolas
The text was updated successfully, but these errors were encountered: