Plugin cuts out spaces in the start of lines for JSON
wcoder opened this issue · comments
Describe the bug
I see the problem with spaces in the start of lines. Plugin cuts them out. From #38
To Reproduce
Example for reproduce:
{
"averageBuyFee" : 1.3999999999999999,
"timestamp" : 1527721200000,
"rates" : {
"HUF" : 274.05874999999997,
"HRK" : 6.3338999999999999,
"CDF" : 1614.661462,
"SDG" : 18.044215000000001,
"CZK" : 22.1663,
"BAM" : 1.6809190000000001
},
"base" : "USD",
"excludedCurrencies" : [
"XDR",
"ZMK",
"BTC"
]
}
Expected behavior
Spaces don't be cut out.
Desktop (please complete the following information):
- All
Smartphone (please complete the following information):
- All
Would you happen to have an ETA for when this issue would be fixed?
Hi @klische
I will try to fix it as soon as possible.
Workaround
You can use previous major version 1.1.0
:
Documentation:
https://github.com/wcoder/highlightjs-line-numbers.js/blob/v1.1.0/README.md#usage
Has been fixed in v2.6