Skip to main content

unsanitize

@webda/ql


Function: unsanitize()

unsanitize(query): string

Defined in: packages/ql/src/query.ts:1889

Remove artifact from sanitize-html inside query

Client queries are no longer HTML-sanitized by the transports of @webda/core and @webda/graphql, which do not call this anymore; kept for applications that sanitize a query themselves.

Parameters​

query​

string

the query string to unsanitize

Returns​

string

the cleaned query string