From 31b5d70330c2b0438b6f210b72323ec8addc9883 Mon Sep 17 00:00:00 2001 From: Hadley Wickham Date: Thu, 9 May 2024 08:28:53 -0500 Subject: [PATCH] Improve HTML5 compliance Fixes #2369 --- NEWS.md | 4 +++ R/navbar.R | 30 ++++++++----------- R/render.R | 3 ++ inst/BS5/templates/content-article-index.html | 2 +- inst/BS5/templates/content-article.html | 2 +- inst/BS5/templates/content-authors.html | 2 +- .../templates/content-citation-authors.html | 2 +- inst/BS5/templates/content-news-index.html | 2 +- inst/BS5/templates/content-news.html | 2 +- .../templates/content-reference-index.html | 4 +-- .../templates/content-reference-topic.html | 2 +- inst/BS5/templates/content-title-body.html | 2 +- .../BS5/templates/content-tutorial-index.html | 2 +- inst/BS5/templates/content-tutorial.html | 2 +- inst/BS5/templates/head.html | 5 ---- inst/BS5/templates/navbar.html | 2 +- 16 files changed, 32 insertions(+), 36 deletions(-) diff --git a/NEWS.md b/NEWS.md index a1c6cc2aa..00016ba48 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,5 +1,9 @@ # pkgdown (development version) +* Improve HTML5 compliance (#2369): + * No longer support IE9 or earlier + * Strip trailing whitespace + * Label `