Skip to content

Bug report: Unexpected token * in JSON at position when using spo age get #2179

@estruyf

Description

@estruyf

Description

There seems to be another character that needs to be escaped correctly.

Steps to reproduce

Fetch a page where a webpart contains \* in its contents.

Expected result

Should return the content correctly.

Actual result

(node:14225) UnhandledPromiseRejectionWarning: SyntaxError: Unexpected token * in JSON at position 2525
    at JSON.parse (<anonymous>)
    at Function.escapedStringToJson 

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions