export function sanitize(url: string | undefined): string | undefined { if (typeof (url) === 'undefined') { return; } return url.replace(/&/g, '&'); }