From a1ededf9c56e1215bbd0539402a0f097d71be6b5 Mon Sep 17 00:00:00 2001 From: gator Date: Thu, 17 Sep 2026 20:58:07 +0000 Subject: [PATCH] Repair the picture-check button, broken by a $-quote in patch text A literal $' in replacement text is consumed as a special pattern by the patch API, which truncated the block mid-string and swallowed the if (unfilmed) line with it. BROWSER_TESTS.md records this exact hazard. The price is now built by concatenating the dollar sign separately so no $-quote sequence appears in patch text at all. --- trailer.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/trailer.html b/trailer.html index 16377a2..223cce2 100644 --- a/trailer.html +++ b/trailer.html @@ -423,7 +423,11 @@ + '" title="Samples frames from every clip and asks what is wrong ' + 'with the picture, then whether it matches the script.">' + (es === "ready" ? "Check the picture again" : "Check the picture") - + ' · + + ' · ' + "$" + (filmed * 0.02).toFixed(2) + + ''); + } + + if (unfilmed && !undrawn) out.push('');