diff --git a/app/MindWork AI Studio/Tools/SlideTextContent.cs b/app/MindWork AI Studio/Tools/SlideTextContent.cs index 0a657559..c9fd8d90 100644 --- a/app/MindWork AI Studio/Tools/SlideTextContent.cs +++ b/app/MindWork AI Studio/Tools/SlideTextContent.cs @@ -4,5 +4,10 @@ namespace AIStudio.Tools; public sealed class SlideTextContent(string textContent) : ISlideContent { - public StringBuilder Text => new(textContent); + // + // One builder per slide, created once: an expression-bodied property would hand out a fresh + // builder on every access, so appending further text to a slide would write into a throwaway + // object and the text would never reach the slide. + // + public StringBuilder Text { get; } = new(textContent); } \ No newline at end of file