From a315db0388c24ef4afce9b44be4c114401eb98b6 Mon Sep 17 00:00:00 2001 From: Benjamin Admin Date: Thu, 21 May 2026 23:41:24 +0200 Subject: [PATCH] Fix JSX attribute syntax in constraint editor descriptions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit German curly quotes („…") combined with a closing straight " inside JSX attribute values were terminating the attribute prematurely, e.g. `description="Beispiel: „X" (jugendgerecht)."` lost everything after the inner straight quote. Switch all such descriptions to the JSX expression form `description={"…"}` so the inner quotes are part of a JavaScript string literal and parsed correctly. Co-Authored-By: Claude Opus 4.7 (1M context) --- .../app/stundenplan/_components/regeln/ClassEditors.tsx | 4 ++-- .../app/stundenplan/_components/regeln/RoomEditors.tsx | 4 ++-- .../_components/regeln/SubjectMaxConsecutiveEditor.tsx | 2 +- .../_components/regeln/SubjectPreferredPeriodEditor.tsx | 2 +- .../stundenplan/_components/regeln/SubjectSimpleEditors.tsx | 6 +++--- .../_components/regeln/TeacherExclusionEditors.tsx | 4 ++-- .../_components/regeln/TeacherMaxHoursEditors.tsx | 4 ++-- .../_components/regeln/TeacherUnavailableDayEditor.tsx | 2 +- .../_components/regeln/TeacherUnavailableWindowEditor.tsx | 2 +- 9 files changed, 15 insertions(+), 15 deletions(-) diff --git a/studio-v2/app/stundenplan/_components/regeln/ClassEditors.tsx b/studio-v2/app/stundenplan/_components/regeln/ClassEditors.tsx index d62b41c..931eaf2 100644 --- a/studio-v2/app/stundenplan/_components/regeln/ClassEditors.tsx +++ b/studio-v2/app/stundenplan/_components/regeln/ClassEditors.tsx @@ -32,7 +32,7 @@ export function ClassMaxHoursDayEditor() {