We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4464df4 commit fff227cCopy full SHA for fff227c
src/components/SprintCard.astro
@@ -11,6 +11,11 @@ if (!sprint) {
11
throw new Error(`Sprint entry "${slug}" not found`);
12
}
13
14
+if (sprint.body && /^#+\s/m.test(sprint.body)) {
15
+ throw new Error(`No headlines allowed in description. [${sprint.id}]`);
16
+}
17
+
18
19
const { data, body } = sprint;
20
21
// <a href={`/sprints/${slug}`} id={slug} class="text-blue-600 hover:text-blue-800 hover:underline"></a>
0 commit comments