Skip to content

Variable: HIDDEN_TEXT_CHARS

TypeScript
const HIDDEN_TEXT_CHARS: RegExp;

Defined in: display-name.ts:14 (opens in a new tab)

What can hide or reorder part of a text on a consent screen or in a notice: control and format characters (bidi embeddings, overrides and isolates, zero-width marks, soft hyphens, tags), lone surrogates, and the fillers that render as nothing. Variation selectors stay: they only pick a glyph.