From: Ardis Lu Date: Sun, 19 Mar 2023 22:15:20 +0000 (-0700) Subject: Add additional characters to clean X-Git-Url: https://git.ardis.lu/?a=commitdiff_plain;h=a83b9402f2687392ca011c3d6e05640b577dc41a;p=4-byte-gen Add additional characters to clean --- 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