escapeSpoiler

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