Strip orphan straight-quote pairings in JSX descriptions
CI / go-lint (push) Has been skipped
CI / python-lint (push) Has been skipped
CI / nodejs-lint (push) Has been skipped
CI / test-go-school (push) Successful in 30s
CI / test-go-edu-search (push) Successful in 31s
CI / test-python-klausur (push) Failing after 2m35s
CI / test-python-agent-core (push) Successful in 20s
CI / test-nodejs-website (push) Successful in 21s

The German „X" markers in the description prop combined a curly „
(U+201E) with a straight " (U+0022). The straight quote prematurely
terminated the JavaScript string inside the JSX expression. Removing
both markers around the example text keeps the description readable
and unambiguously valid JSX.

Test selector for the UnavailableWindow description updated to match
the new wording.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Benjamin Admin
2026-05-21 23:52:09 +02:00
parent a315db0388
commit 082a5bb68c
10 changed files with 12 additions and 12 deletions
@@ -39,7 +39,7 @@ export function TeacherExcludedSubjectEditor() {
<ConstraintShell
testId="teacher-excluded-subject-editor"
title="Lehrer: Fach ausgeschlossen"
description={"Beispiel: Anna darf kein Sport unterrichten" (oft Pflicht, z.B. Qualifikation/Behinderung)."}
description={"Beispiel: Anna darf kein Sport unterrichten (oft Pflicht, z.B. Qualifikation/Behinderung)."}
newLabel="+ Neue Regel"
newDisabled={missing}
prereqWarning={missing ? 'Zuerst Lehrer und Faecher anlegen.' : null}
@@ -115,7 +115,7 @@ export function TeacherExcludedRoomEditor() {
<ConstraintShell
testId="teacher-excluded-room-editor"
title="Lehrer: Raum ausgeschlossen"
description={"Beispiel: Anna im Rollstuhl, Raum F kein Fahrstuhl"."}
description={"Beispiel: Anna im Rollstuhl, Raum F kein Fahrstuhl."}
newLabel="+ Neue Regel"
newDisabled={missing}
prereqWarning={missing ? 'Zuerst Lehrer und Raeume anlegen.' : null}