diff --git a/NEWS.md b/NEWS.md index bb0b748e5..be0180154 100644 --- a/NEWS.md +++ b/NEWS.md @@ -5,6 +5,7 @@ * Test fix for `R CMD check`. * When previewing a site, it is now served via a local http server. This enables dynamic features such as search to work correctly (@shikokuchuo, #2975). * Code in a link (href) is no longer autolinked (#2972) +* Ensure SVG favicons are parsed properly by fixing a bug in BS5 and BS3 favicon icon templates where curly/smart quotes (”…”, U+201D) were used instead of straight quotes, which caused the SVG favicon to not be used and a fallback raster favicon to be used. If your fallback was low resolution, your favicon looked poor (@njtierney, #3005). # pkgdown 2.2.0 diff --git a/inst/BS3/templates/head.html b/inst/BS3/templates/head.html index 70037b385..e61bc7058 100644 --- a/inst/BS3/templates/head.html +++ b/inst/BS3/templates/head.html @@ -7,7 +7,7 @@ {{#has_favicons}} - + diff --git a/inst/BS5/templates/head.html b/inst/BS5/templates/head.html index f0578cdb2..e63b668bf 100644 --- a/inst/BS5/templates/head.html +++ b/inst/BS5/templates/head.html @@ -6,7 +6,7 @@ {{#has_favicons}} - +