Administration of users with pending - #877

This commit is contained in:
Laurent GAY
2025-09-12 23:04:12 +02:00
parent 3a3c452e92
commit e3f3ccd148
10 changed files with 434 additions and 79 deletions

View File

@@ -68,6 +68,12 @@ export function defaultResolvers(
} satisfies Resolvers;
}
export function htmlRemoveId(htmlText: string) {
return htmlText
.replaceAll(/ id="[a-z0-9]+" /gi, ' id="" ')
.replaceAll(/ for="[a-z0-9]+"/gi, ' for=""');
}
export const nullMock = {
data: {},
};