diff --git a/src/pdf-generator/GeneratorUtils.ts b/src/pdf-generator/GeneratorUtils.ts index 586cabb..66a65d1 100644 --- a/src/pdf-generator/GeneratorUtils.ts +++ b/src/pdf-generator/GeneratorUtils.ts @@ -31,12 +31,12 @@ export const formatName = (name: string): string => { if (!name) { return ''; } else if (name.length > 22) { - return name.substring(0, 22) + '...\'s'; - } else if (name.endsWith("\'s") || name.endsWith("s\'")) { + return name.substring(0, 22) + "...'s"; + } else if (name.endsWith("'s") || name.endsWith("s'")) { return name; } else if (name.endsWith("s")) { - return name + '\''; + return name + "'"; } else { - return name + '\'s'; + return name + "'s"; } } \ No newline at end of file