From 3ea944fea38b9fee4bab169c85ee266802e91917 Mon Sep 17 00:00:00 2001
From: Karl Bartel
Date: Sun, 16 Aug 2026 21:46:12 +0200
Subject: [PATCH] Add test cases for attribute specs that fail on grammar
The "Non-attributes" cases all fail for want of a closing brace, and the
terminated specs that are rejected elsewhere -- {#a{a=“ inline text
```
+The cases in this section so far all fail for want of a closing brace.
+A terminated `{...}` is rejected too when its contents aren't
+attributes: `=` must be followed by a value, and a bare one cannot be
+empty (a quoted `key=""` is fine).
+
+```
+[x]{key}
+.
+[x]{key}
+```
+
+```
+[y]{key=}
+.
+[y]{key=}
+```
+
+Nothing in a rejected block is applied, so `.a` is not a class here and
+the line below stays a paragraph:
+
+```
+{.a key}
+# not a heading
+.
+{.a key}
+# not a heading
+```
+
``` a
{