Don't render the template in memory to avoid out of memory exceptions

Fixes #88
pull/123/head
Alexey Golub 6 years ago
parent d6507598fa
commit 94165dcd8d

@ -52,8 +52,8 @@ namespace DiscordChatExporter.Core.Services
// Configure output // Configure output
context.PushOutput(new TextWriterOutput(output)); context.PushOutput(new TextWriterOutput(output));
// Render template // Render output
template.Render(context); context.Evaluate(template.Page);
} }
} }

Loading…
Cancel
Save