replace many more obsolete a name tags with div
This HTML is now obsolete in HTML 5: ```html <a name="faq0"></a>Section 0: Submitting entries to a new IOCCC ``` Instead we need to use the div HTML elements: ```html <div id="faq0">Section 0: Submitting entries to a new IOCCC</div> ``` Changed `bin/gen-authors.sh` VERSION from to "1.5 2024-04-15" to "1.6 2024-04-15". Changed `bin/gen-location.sh` VERSION from to "1.1.3 2024-04-13" to "1.2 2024-04-15". Changed `bin/gen-years.sh` VERSION from to "1.1.1 2024-04-13" to "1.2 2024-04-15". Changed `bin/output-index-author.sh` VERSION from to "1.6.1 2024-04-13" to "1.7 2024-04-15". Changed `bin/output-index-inventory.sh` VERSION from to "1.2.5 2024-04-13" to "1.3 2024-04-15". Changed `bin/output-year-index.sh` VERSION from to "1.2.2 2024-04-14" to "1.3 2024-04-15". Changed `bin/status2html.sh` VERSION from to "1.1.4 2024-04-13" to "1.2 2024-04-15". Run `make www` to perform the above. TODO: Check this fix with the Nu HTML 5 validator. TODO: Look for other HTML 5 warnings and errors.
This commit is contained in:
1 parent
783f6550a7
commit
476b0d45f0
394 files changed
+4723
-2594
No files matched your search
@@ -101,7 +101,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.6.1 2024-04-13"
|
||||
export VERSION="1.7 2024-04-15"
|
||||
NAME=$(basename "$0")
|
||||
export NAME
|
||||
export V_FLAG=0
|
||||
@@ -772,11 +772,13 @@ fi
|
||||
{
|
||||
AUTHOR_COUNT=$(echo "$AUTHOR_HANDLE_SET" | wc -l)
|
||||
export AUTHOR_COUNT
|
||||
echo '<div id="author">'
|
||||
if [[ $AUTHOR_COUNT -gt 1 ]]; then
|
||||
echo '## <a name="author"></a>Authors:'
|
||||
echo '## Authors:'
|
||||
else
|
||||
echo '## <a name="author"></a>Author:'
|
||||
echo '## Author:'
|
||||
fi
|
||||
echo '</div>'
|
||||
} | if [[ -z $NOOP ]]; then
|
||||
cat >> "$TMP_FILE"
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user