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:
1 parent
a525591262
commit
bcc8a12c19
2 files changed
+9
-13
No files matched your search
+2
-4
@@ -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
@@ -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">"no_comment"</span> <span class="fu">:</span> <span class="st">"mandatory comment: because comments were removed from the original JSON spec"</span><span class="fu">,</span></span>
|
||||
<span id="cb1-3"><a href="#cb1-3" aria-hidden="true" tabindex="-1"></a> <span class="dt">"IOCCC_status_version"</span> <span class="fu">:</span> <span class="st">"1.0 2024-03-09"</span><span class="fu">,</span></span>
|
||||
<span id="cb1-4"><a href="#cb1-4" aria-hidden="true" tabindex="-1"></a> <span class="dt">"contest_status"</span> <span class="fu">:</span> <span class="st">"closed"</span><span class="fu">,</span></span>
|
||||
<span id="cb1-5"><a href="#cb1-5" aria-hidden="true" tabindex="-1"></a> <span class="dt">"news_update"</span> <span class="fu">:</span> <span class="st">"2024-04-12T18:22:04+00:00"</span><span class="fu">,</span></span>
|
||||
<span id="cb1-6"><a href="#cb1-6" aria-hidden="true" tabindex="-1"></a> <span class="dt">"status_update"</span> <span class="fu">:</span> <span class="st">"2024-03-31T05:02:06+00:00"</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="<!---json-->"><code>{
|
||||
"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"
|
||||
}</code></pre>
|
||||
|
||||
<!-- END: next line ends content generated by: bin/status2html.sh -->
|
||||
|
||||
|
||||
Reference in new issue
Block a user