From ace2aa5f097accff0cbf378cacd5e93c2c69ad55 Mon Sep 17 00:00:00 2001 From: Ardis Lu Date: Sun, 11 Feb 2024 21:03:38 -0800 Subject: [PATCH] Add additional check for strict mode --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 667663f..e584440 100644 --- a/index.html +++ b/index.html @@ -378,7 +378,7 @@ if (fn === '') { continue; } - if (fn.substring(0, 8) === 'contract' || fn.substring(0, 17) === 'abstract contract') { + if (fn.substring(0, 15) === 'pragma solidity' || fn.substring(0, 8) === 'contract' || fn.substring(0, 17) === 'abstract contract') { // Use strict-mode splitFunction for full contracts strict = true; continue; -- 2.47.3