Skip to content

Long string not being parsed correctly #778

@desaikd

Description

@desaikd

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions