From a83b9402f2687392ca011c3d6e05640b577dc41a Mon Sep 17 00:00:00 2001 From: Ardis Lu Date: Sun, 19 Mar 2023 15:15:20 -0700 Subject: [PATCH] Add additional characters to clean --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index d0effca..71c54b5 100644 --- a/index.html +++ b/index.html @@ -60,7 +60,7 @@ // Normalize and extract the function name and parameter types function splitFunction(fn) { // Clean all characters that definitely do not affect the signature - fn = fn.replaceAll(';', ''); // TODO: any others? + fn = fn.replaceAll(/[;'"]/g, ''); // Extract the function name and parameters // Original regex is from wagmi-dev/abitype -- 2.47.3