diff --git a/routes/archive.js b/routes/archive.js index 758cf5c0..a4356462 100644 --- a/routes/archive.js +++ b/routes/archive.js @@ -62,6 +62,7 @@ router.get('/:campaign/:list/:subscription', passport.csrfProtection, (req, res, } let renderHtml = (html, renderTags) => { + campaign.editorName = campaign.editorName || 'summernote'; let sfx = ''; if (campaign.editorName !== 'summernote' && campaign.editorName !== 'codeeditor') { sfx = '-raw';