From 70d45df2435415b9597116da71221f24c6415f24 Mon Sep 17 00:00:00 2001 From: Tab Atkins-Bittner Date: Tue, 19 Dec 2023 15:43:01 -0800 Subject: [PATCH] Infer that <> must be a value, not a type --- bikeshed/unsortedJunk.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bikeshed/unsortedJunk.py b/bikeshed/unsortedJunk.py index 164efaf66e..e27283f5ad 100644 --- a/bikeshed/unsortedJunk.py +++ b/bikeshed/unsortedJunk.py @@ -354,7 +354,7 @@ def determineDfnType(doc: t.SpecT, dfn: t.ElementT, inferCSS: bool = False) -> s ): return "value" if text[0:1] == "<" and text[-1:] == ">": - if "[" in text: + if "[" in text and "]" in text: # has a range, *must* be a value return "value" else: