From f0aabb17ee09ca4a60c19350e6e0e221906a2188 Mon Sep 17 00:00:00 2001 From: Landon Curt Noll Date: Sat, 20 Apr 2024 13:58:06 -0700 Subject: [PATCH] fix 2004/anonymous/index.html quote problem MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The original award for _Anonymous_2004_ was: ``` Best use of "Precious" Lines ``` However due to the way the bin tools use data from the `2004/anonymous/.entry.json` file, this resulted in invalid HTML such as: ```html ``` We could complicate the bin tools to manage quote marks within quoted strings, or we could try to use fancy quotes such as: ``` “Precious” ``` But instead we decided for the easier path an simply use single quotes for the award: ``` Best use of 'Precious' Lines ``` Ran `bin/readme2index.sh -v 1 2004/anonymous` to perform the above. --- 2004/anonymous/.entry.json | 2 +- 2004/anonymous/index.html | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/2004/anonymous/.entry.json b/2004/anonymous/.entry.json index c37a537b4..0e9bfa461 100644 --- a/2004/anonymous/.entry.json +++ b/2004/anonymous/.entry.json @@ -1,7 +1,7 @@ { "no_comment" : "mandatory comment: because comments were removed from the original JSON spec", "entry_JSON_format_version" : "1.1 2024-02-11", - "award" : ""Best use of ""Precious"" Lines"", + "award" : "Best use of 'Precious' Lines", "year" : 2004, "dir" : "anonymous", "entry_id" : "2004_anonymous", diff --git a/2004/anonymous/index.html b/2004/anonymous/index.html index 41b189a99..1a6be9bd5 100644 --- a/2004/anonymous/index.html +++ b/2004/anonymous/index.html @@ -10,10 +10,10 @@ -2004/anonymous - "Best use of ""Precious"" Lines" +2004/anonymous - Best use of 'Precious' Lines - - + + @@ -114,7 +114,7 @@
IOCCC image by Matt Zucker

The International Obfuscated C Code Contest

-

2004/anonymous - "Best use of ""Precious"" Lines"

+

2004/anonymous - Best use of 'Precious' Lines