Files
2026-08-26 17:41:41 +02:00

8 lines
227 B
TypeScript

export function encodeMarkdownTableCell(value: string): string {
return value.replace(/\r\n?|\n/g, ' ').replace(/\|/g, '|');
}
export function encodeYamlString(value: string): string {
return JSON.stringify(value);
}