Write the sources of an answer into every exported document

This commit is contained in:
Thorsten Sommer committed 2026-09-13 19:10:45 +02:00
1 parent bb3ec5da92
commit efac4d57f1
8 files changed
+103 -3

No files matched your search

@@ -732,7 +732,7 @@ public partial class ContentBlockComponent : MSGComponentBase
//
if (format.UsesPandoc())
await PandocExport.ToDocument(this.RustService, this.PandocAvailability, this.EffectiveExportTitle, format, this.Content);
else if (this.Content.TryGetMarkdownText(out var markdown))
else if (this.Content.TryGetExportMarkdown(out var markdown))
await PlainFileExport.ToFile(this.RustService, this.EffectiveExportTitle, format, markdown);
}
catch (ArgumentOutOfRangeException e)