From bb5017b99b9c177eb80a94569162ae592d03ce44 Mon Sep 17 00:00:00 2001 From: John O'Keefe Date: Mon, 13 Apr 2026 20:14:08 -0400 Subject: [PATCH] fix(reader): add unsafe-eval to CSP and improve formatting - Add 'unsafe-eval' to Content-Security-Policy script-src directive to support dynamic module evaluation required by ES modules - Standardize HTML formatting: - Use lowercase doctype declaration - Use double quotes consistently - Improve indentation for readability - Format CSS properties (box-shadow, transition) across multiple lines - Close void elements with / for consistency The CSP change is necessary for the ES module system to function correctly in the browser environment. --- reader.html | 345 +++++++++++++++++++++++++++++----------------------- 1 file changed, 190 insertions(+), 155 deletions(-) diff --git a/reader.html b/reader.html index 18d6b5b..33e7cc5 100644 --- a/reader.html +++ b/reader.html @@ -1,58 +1,61 @@ - - - - - + + + + + E-Book Reader - +
-
- -

Drop a book here!

-

Or to open it.

-
+
+ +

Drop a book here!

+

Or to open it.

+