@eagleoutice/flowr
Version:
Static Dataflow Analyzer and Program Slicer for the R Programming Language
13 lines (12 loc) • 421 B
TypeScript
/**
* Escapes HTML special characters in a string.
* @param str - The string to escape
* @returns The escaped string
*/
export declare function escapeHTML(str: string | undefined): string | undefined;
/**
* Escapes newline characters in a string (Supports Windows and Unix newlines).
* @param str - The string to escape
* @returns The escaped string
*/
export declare function escapeNewline(str: string): string;