ion-js
ion-js copied to clipboard
Long string not being parsed correctly
Tried following test with ion-js which fails with tripple quoted string/long string
let s: Value = load("'''hello'''''' world'''")!;
assert.equal(IonTypes.STRING, s.getType());
assert.equal(s.stringValue(),"hello world");
s.stringValue() returns helloorld.
Further more when we add a space between the two tripple quoted strings('''hello''' ''' world''') the value seems to be loading correctly.