Skip to content
This repository has been archived by the owner on Jun 7, 2024. It is now read-only.

Commit

Permalink
fix(w3c/headers): assure right endorsement text is selected (speced#3872
Browse files Browse the repository at this point in the history
)
  • Loading branch information
marcoscaceres authored Nov 10, 2021
1 parent fc88a0b commit b9ae086
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/w3c/templates/sotd.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,7 @@ function renderNotRec(conf) {
This document is maintained and updated at any time. Some parts of this
document are work in progress.
</p>`;

switch (conf.textStatus) {
switch (conf.specStatus) {
case "STMT":
endorsement = html`<p>
A W3C Statement is a specification that, after extensive
Expand Down Expand Up @@ -225,7 +224,7 @@ function renderNotRec(conf) {
case "DNOTE":
case "NOTE":
endorsement = html`${conf.textStatus}s are not endorsed by the
<abbr title="World Wide Web Consortium">W3C</abbr> nor its Membership.`;
<abbr title="World Wide Web Consortium">W3C</abbr> nor its Members.`;
break;
}
return html`<p>${endorsement} ${statusExplanation}</p>
Expand Down

0 comments on commit b9ae086

Please sign in to comment.