From b9ae08657c598bad728ef3e5662cd7dac9ea0cbc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Marcos=20C=C3=A1ceres?=
Date: Wed, 10 Nov 2021 22:23:31 +1100
Subject: [PATCH] fix(w3c/headers): assure right endorsement text is selected
(#3872)
---
src/w3c/templates/sotd.js | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/w3c/templates/sotd.js b/src/w3c/templates/sotd.js
index f54b40720a..8bb4af43ac 100644
--- a/src/w3c/templates/sotd.js
+++ b/src/w3c/templates/sotd.js
@@ -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.
`;
-
- switch (conf.textStatus) {
+ switch (conf.specStatus) {
case "STMT":
endorsement = html`
A W3C Statement is a specification that, after extensive
@@ -225,7 +224,7 @@ function renderNotRec(conf) {
case "DNOTE":
case "NOTE":
endorsement = html`${conf.textStatus}s are not endorsed by the
- W3C nor its Membership.`;
+ W3C nor its Members.`;
break;
}
return html`
${endorsement} ${statusExplanation}