mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-02-25 04:08:00 +00:00
6 lines
195 B
TypeScript
6 lines
195 B
TypeScript
// A separate file so this doesn't get picked up by StyleGuidist over real components
|
|
|
|
export function cleanId(id: string): string {
|
|
return id.replace(/[^\u0020-\u007e\u00a0-\u00ff]/g, '_');
|
|
}
|