From bcc8a12c1970ae30f533a6775170cc67f5100cff Mon Sep 17 00:00:00 2001 From: Landon Curt Noll Date: Tue, 16 Apr 2024 21:13:57 -0700 Subject: [PATCH] fix HTML errors in status.html Try to fix things that the Nu HTML check is reporting. Improve formatting of the contents of `status.json` in `status.html`. Changed `bin/status2html.sh` VERSION from to "1.2 2024-04-15" to "1.3 2024-04-16". Run `make gen_status` to perform the above and test under macOS. --- bin/status2html.sh | 6 ++---- status.html | 16 +++++++--------- 2 files changed, 9 insertions(+), 13 deletions(-) diff --git a/bin/status2html.sh b/bin/status2html.sh index 8cbd5af5c..1b2c5c660 100755 --- a/bin/status2html.sh +++ b/bin/status2html.sh @@ -99,7 +99,7 @@ shopt -s globstar # enable ** to match all files and zero or more directories an # set variables referenced in the usage message # -export VERSION="1.2 2024-04-15" +export VERSION="1.3 2024-04-16" NAME=$(basename "$0") export NAME export V_FLAG=0 @@ -467,10 +467,8 @@ esac # write status.json content # - echo '
' echo '# status.json' - echo '
' - echo '```json' + echo '``` ' cat "$STATUS_JSON" echo '```' } | if [[ -z $NOOP ]]; then diff --git a/status.html b/status.html index 408aea0b1..26499bbee 100644 --- a/status.html +++ b/status.html @@ -137,16 +137,14 @@

The IOCCC is closed

The IOCCC is NOT accepting new submissions at this time. See the IOCCC winning entries page for the entires that have won the IOCCC.

Watch both the IOCCC status page and the @IOCCC mastodon feed for information about future IOCCC openings.

-

status.json

-
-
{
-    "no_comment" : "mandatory comment: because comments were removed from the original JSON spec",
-    "IOCCC_status_version" : "1.0 2024-03-09",
-    "contest_status" : "closed",
-    "news_update" : "2024-04-12T18:22:04+00:00",
-    "status_update" : "2024-03-31T05:02:06+00:00"
-}
+
{
+    "no_comment" : "mandatory comment: because comments were removed from the original JSON spec",
+    "IOCCC_status_version" : "1.0 2024-03-09",
+    "contest_status" : "closed",
+    "news_update" : "2024-04-12T18:22:04+00:00",
+    "status_update" : "2024-03-31T05:02:06+00:00"
+}