From e1f731a514a6fd2d2a18e3fb6a84e314d852048d Mon Sep 17 00:00:00 2001 From: Timothy Flynn Date: Wed, 22 Apr 2026 08:34:03 -0400 Subject: [PATCH] Base: Format internal Ladybird pages with prettier These are currently not checked by CI. --- Base/res/ladybird/about-pages/about.html | 2 +- Base/res/ladybird/about-pages/bookmarks.html | 34 +++++++++++--------- Base/res/ladybird/about-pages/newtab.html | 2 +- Base/res/ladybird/about-pages/processes.html | 6 ++-- Base/res/ladybird/about-pages/version.html | 2 +- Base/res/ladybird/templates/directory.html | 2 +- Base/res/ladybird/templates/error.html | 2 +- 7 files changed, 27 insertions(+), 23 deletions(-) diff --git a/Base/res/ladybird/about-pages/about.html b/Base/res/ladybird/about-pages/about.html index 43f27ef4b1e..c7148eb32dd 100644 --- a/Base/res/ladybird/about-pages/about.html +++ b/Base/res/ladybird/about-pages/about.html @@ -1,4 +1,4 @@ - + diff --git a/Base/res/ladybird/about-pages/bookmarks.html b/Base/res/ladybird/about-pages/bookmarks.html index 0c8f9593bf9..3738a88ea2e 100644 --- a/Base/res/ladybird/about-pages/bookmarks.html +++ b/Base/res/ladybird/about-pages/bookmarks.html @@ -234,20 +234,20 @@

Bookmarks

-
- - +
+ + - +
+
@@ -587,7 +587,9 @@ } for (const dt of dl.children) { - if (dt.tagName !== "DT") continue; + if (dt.tagName !== "DT") { + continue; + } const anchor = dt.querySelector(":scope > A"); if (anchor) { @@ -663,7 +665,9 @@ importFileInput.addEventListener("change", () => { const file = importFileInput.files[0]; - if (!file) return; + if (!file) { + return; + } const reader = new FileReader(); reader.onload = () => { diff --git a/Base/res/ladybird/about-pages/newtab.html b/Base/res/ladybird/about-pages/newtab.html index 07e0dc7f6d0..9d5c3d4882c 100644 --- a/Base/res/ladybird/about-pages/newtab.html +++ b/Base/res/ladybird/about-pages/newtab.html @@ -1,4 +1,4 @@ - + diff --git a/Base/res/ladybird/about-pages/processes.html b/Base/res/ladybird/about-pages/processes.html index 0b7aa5408da..e0e8ec9d35d 100644 --- a/Base/res/ladybird/about-pages/processes.html +++ b/Base/res/ladybird/about-pages/processes.html @@ -103,14 +103,14 @@