(value: string)
| 66 | const unique = (prefix: string) => `${prefix}_${randomBytes(4).toString("hex")}`; |
| 67 | |
| 68 | const decodeHtml = (value: string): string => |
| 69 | value |
| 70 | .replaceAll("&", "&") |
| 71 | .replaceAll(""", '"') |
| 72 | .replaceAll("'", "'") |
| 73 | .replaceAll("<", "<") |
| 74 | .replaceAll(">", ">"); |
| 75 | |
| 76 | const inputFields = (html: string): Record<string, string> => { |
| 77 | const fields: Record<string, string> = {}; |
no outgoing calls
no test coverage detected