wcoder / highlightjs-line-numbers.js

Line numbering plugin for Highlight.js

Home Page:https://wcoder.github.io/highlightjs-line-numbers.js/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

Screenshots
image

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?

Has been fixed in v2.6