feat(blogo): explicily set default fallback renderer options

This commit is contained in:
Guz
2025-01-27 11:25:06 -03:00
parent e20e9ee08c
commit 2997c51f6a

View File

@@ -40,7 +40,9 @@ func New(opts ...Opts) Blogo {
}
if opt.FallbackRenderer == nil {
opt.FallbackRenderer = plugins.NewPlainText()
opt.FallbackRenderer = plugins.NewPlainText(plugins.PlainTextOpts{
Assertions: opt.Assertions,
})
}
if opt.MultiRenderer == nil {
opt.MultiRenderer = plugins.NewMultiRenderer()