hjson-js icon indicating copy to clipboard operation
hjson-js copied to clipboard

Strings containing "#" will be treated as comments

Open QianSeNianHua opened this issue 1 year ago • 1 comments

version

hjson: 3.2.2

problem

{
  "QWCRM_URL": "https://www.xxx.com/qwcrm/#/", // There's something wrong here
}

Since the string contains "#", it is treated as a comment.

QianSeNianHua avatar Nov 18 '24 04:11 QianSeNianHua

I cannot reproduce this problem in hjson-js. I suspect this is instead a problem with the syntax definition for the editor you are using.

trobro avatar Nov 21 '24 20:11 trobro