From 557bd66a5af5c15c999e888f5cc180205be18f8a Mon Sep 17 00:00:00 2001 From: David Cook Date: Thu, 5 Mar 2026 05:38:12 +0000 Subject: [PATCH] Bug 38365: Make tidy.pl compatible with script elements with attributes tidy.pl will still tidy whitespace around script elements that have attributes like "nonce" --- misc/devel/tidy.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/devel/tidy.pl b/misc/devel/tidy.pl index f8829044eec..f0bf006bd15 100755 --- a/misc/devel/tidy.pl +++ b/misc/devel/tidy.pl @@ -169,7 +169,7 @@ sub tidy_tt { $content =~ s###g; $content =~ s##-->##g; - $content =~ s#\n*( *)\n*#\n$1\n#g; $content =~ s#(\[%\s*SWITCH[^\]]*\]\n)\n#$1#g; -- 2.39.5