escapeSpoiler

export declare function escapeSpoiler(text: string): string;
export declare function escapeSpoiler(text: string): string;
Escapes spoiler markdown in a string.
NameTypeOptionalDescription
textstringNo
Content to escape