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.
This commit is contained in:
Landon Curt Noll committed 2024-04-16 21:13:57 -07:00
1 parent a525591262
commit bcc8a12c19
2 files changed
+9 -13

No files matched your search

+2 -4
View File
@@ -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 '<div id="content">'
echo '# status.json'
echo '</div>'
echo '```json'
echo '``` <!---json-->'
cat "$STATUS_JSON"
echo '```'
} | if [[ -z $NOOP ]]; then
+7 -9
View File
@@ -137,16 +137,14 @@
<h1 id="the-ioccc-is-closed">The IOCCC is closed</h1>
<p>The IOCCC is <strong>NOT</strong> accepting new submissions at this time. See the <a href="years.html">IOCCC winning entries page</a> for the entires that have won the IOCCC.</p>
<p>Watch both <a href="status.html">the IOCCC status page</a> and the <a href="https://fosstodon.org/@ioccc"><span class="citation" data-cites="IOCCC">@IOCCC</span> mastodon feed</a> for information about future IOCCC openings.</p>
<div id="content">
<h1 id="status.json">status.json</h1>
</div>
<div class="sourceCode" id="cb1"><pre class="sourceCode json"><code class="sourceCode json"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a><span class="fu">{</span></span>
<span id="cb1-2"><a href="#cb1-2" aria-hidden="true" tabindex="-1"></a> <span class="dt">&quot;no_comment&quot;</span> <span class="fu">:</span> <span class="st">&quot;mandatory comment: because comments were removed from the original JSON spec&quot;</span><span class="fu">,</span></span>
<span id="cb1-3"><a href="#cb1-3" aria-hidden="true" tabindex="-1"></a> <span class="dt">&quot;IOCCC_status_version&quot;</span> <span class="fu">:</span> <span class="st">&quot;1.0 2024-03-09&quot;</span><span class="fu">,</span></span>
<span id="cb1-4"><a href="#cb1-4" aria-hidden="true" tabindex="-1"></a> <span class="dt">&quot;contest_status&quot;</span> <span class="fu">:</span> <span class="st">&quot;closed&quot;</span><span class="fu">,</span></span>
<span id="cb1-5"><a href="#cb1-5" aria-hidden="true" tabindex="-1"></a> <span class="dt">&quot;news_update&quot;</span> <span class="fu">:</span> <span class="st">&quot;2024-04-12T18:22:04+00:00&quot;</span><span class="fu">,</span></span>
<span id="cb1-6"><a href="#cb1-6" aria-hidden="true" tabindex="-1"></a> <span class="dt">&quot;status_update&quot;</span> <span class="fu">:</span> <span class="st">&quot;2024-03-31T05:02:06+00:00&quot;</span></span>
<span id="cb1-7"><a href="#cb1-7" aria-hidden="true" tabindex="-1"></a><span class="fu">}</span></span></code></pre></div>
<pre class="&lt;!---json--&gt;"><code>{
&quot;no_comment&quot; : &quot;mandatory comment: because comments were removed from the original JSON spec&quot;,
&quot;IOCCC_status_version&quot; : &quot;1.0 2024-03-09&quot;,
&quot;contest_status&quot; : &quot;closed&quot;,
&quot;news_update&quot; : &quot;2024-04-12T18:22:04+00:00&quot;,
&quot;status_update&quot; : &quot;2024-03-31T05:02:06+00:00&quot;
}</code></pre>
<!-- END: next line ends content generated by: bin/status2html.sh -->