fix HTML errors in authors.html

Try to fix things that the Nu HTML check is reporting.
It seems that "<p>..</p>" cannot span certain HTML elements.

Changed `bin/gen-authors.sh` VERSION from to "1.8 2024-04-16"
to "1.8.1 2024-04-16".

Run `make gen_authors` to perform the above and test under macOS.
This commit is contained in:
Landon Curt Noll committed 2024-04-16 20:42:53 -07:00
1 parent e37ebe131d
commit a525591262
2 files changed
+400 -4

No files matched your search

+394
View File
File diff suppressed because it is too large. Load diff
+6 -4
View File
@@ -83,7 +83,7 @@ shopt -s globstar # enable ** to match all files and zero or more directories an
# set variables referenced in the usage message # set variables referenced in the usage message
# #
export VERSION="1.8 2024-04-16" export VERSION="1.8.1 2024-04-16"
NAME=$(basename "$0") NAME=$(basename "$0")
export NAME export NAME
export V_FLAG=0 export V_FLAG=0
@@ -890,15 +890,17 @@ EOF
# output author information # output author information
# #
echo "<p><div id=\"$AUTHOR_HANDLE\">**$FULL_NAME**</div>" echo "<p></p>"
echo "<div id=\"$AUTHOR_HANDLE\">**$FULL_NAME**</div>"
echo "author_handle: $AUTHOR_HANDLE<br>" echo "author_handle: $AUTHOR_HANDLE<br>"
if [[ $LOCATION_NAME == "$LOCATION_COMMON_NAME" ]]; then if [[ $LOCATION_NAME == "$LOCATION_COMMON_NAME" ]]; then
echo "Location: [$LOCATION_CODE](location.html#$LOCATION_CODE) -" \ echo "Location: [$LOCATION_CODE](location.html#$LOCATION_CODE) -" \
"_${LOCATION_NAME}_</p>" "_${LOCATION_NAME}_"
else else
echo "Location: [$LOCATION_CODE](location.html#$LOCATION_CODE) -" \ echo "Location: [$LOCATION_CODE](location.html#$LOCATION_CODE) -" \
"_${LOCATION_NAME}_ (_${LOCATION_COMMON_NAME}_)</p>" "_${LOCATION_NAME}_ (_${LOCATION_COMMON_NAME}_)"
fi fi
echo "<p></p>"
# output YYYY/dir set made bu this author # output YYYY/dir set made bu this author
# #