Skip to content

Commit

Permalink
Add missing <title> element (#249)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jayman2000 authored Jul 5, 2024
1 parent 5289f01 commit 7b08ebe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions about.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
white-space: pre-wrap;
}
</style>
<title>Third Party Licenses</title>
</head>

<body>
Expand Down

0 comments on commit 7b08ebe

Please sign in to comment.