From 7b08ebebf6b729a8e6e5227e9117617ee2b8003e Mon Sep 17 00:00:00 2001 From: Jason Yundt Date: Fri, 5 Jul 2024 03:52:34 -0400 Subject: [PATCH] Add missing element (#249) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit According to the HTML Standard [1]: > The title element is a required child in most situations, but when a > higher-level protocol provides title information, e.g., in the subject > line of an email when HTML is used as an email authoring format, the > title element can be omitted. Before this change, the default about.hbs file didn’t have a <title> element even though a <title> element is required in most situations. This change adds a <title> element in order to help make sure that the HTML generated by cargo-about is valid. [1]: <https://html.spec.whatwg.org/multipage/semantics.html#the-head-element> --- about.hbs | 1 + 1 file changed, 1 insertion(+) diff --git a/about.hbs b/about.hbs index 517904a..eab1b82 100644 --- a/about.hbs +++ b/about.hbs @@ -35,6 +35,7 @@ white-space: pre-wrap; } </style> + <title>Third Party Licenses