Preview environment

function escapeSpoiler

export declare function escapeSpoiler(text: string): string;

Escapes spoiler markdown in a string.

Parameters

text: string
Content to escape