From c44e7dfa39b36ab387ed286186554e1ad10eecc6 Mon Sep 17 00:00:00 2001 From: rugk Date: Tue, 16 Jun 2026 14:29:46 +0000 Subject: [PATCH 1/2] style: beautify HTML Co-authored-by: Copilot --- js/test/Prompt.js | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/js/test/Prompt.js b/js/test/Prompt.js index 92e64f94..a912a945 100644 --- a/js/test/Prompt.js +++ b/js/test/Prompt.js @@ -12,15 +12,23 @@ describe('Prompt', function () { function (password) { password = password.replace(/\r+|\n+/g, ''); const clean = globalThis.cleanup('', {url: 'ftp://example.com/?0000000000000000'}); - document.body.innerHTML = ( - '' - ); + document.body.innerHTML = ` + + `; // Initialize the Prompt module to set up event listeners PrivateBin.Prompt.init(); From eceab240a9e8fc9061da3b225cc8b7d432fe59b4 Mon Sep 17 00:00:00 2001 From: rugk Date: Tue, 16 Jun 2026 16:46:52 +0200 Subject: [PATCH 2/2] fix: remove old now removed bootstrap from configuration-test-generator --- bin/configuration-test-generator | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/bin/configuration-test-generator b/bin/configuration-test-generator index 0c784e52..bfcd7ddd 100755 --- a/bin/configuration-test-generator +++ b/bin/configuration-test-generator @@ -183,27 +183,7 @@ new ConfigurationTestGenerator(array( ), ), 'affects' => $vd, - ), array( - 'setting' => 'bootstrap', - 'tests' => array( - array( - 'type' => 'DoesNotMatchRegularExpression', - 'args' => array( - '#]+type="text/css"[^>]+rel="stylesheet"[^>]+href="css/bootstrap5/privatebin\.css\\?\d[\d\.]+\d+"[^>]*/>#', - '$content', - 'removes "bootstrap5" stylesheet correctly', - ), - ), array( - 'type' => 'MatchesRegularExpression', - 'args' => array( - '#]+type="text/css"[^>]+rel="stylesheet"[^>]+href="css/bootstrap/bootstrap-\d[\d\.]+\d\.css"[^>]*/>#', - '$content', - 'outputs "bootstrap" stylesheet correctly', - ), - ), - ), - 'affects' => $vd, - ), + ) ), 'main/sizelimit' => array( array(