Skip to main content

unescapePdfString

@forge/monorepo


@forge/monorepo / backend/src / unescapePdfString

Function: unescapePdfString()

unescapePdfString(raw): string

Defined in: backend/src/documents/parsers/pdf.ts:69

`` escapes inside a PDF literal string.

Including the line continuation, which is the one people forget: a backslash at end of line means "no character here", and treating it as a literal backslash inserts one into every wrapped string.

Parameters

raw

string

Returns

string