From 9f191bd7da8e53112a74940f66f681f6ea541c6a Mon Sep 17 00:00:00 2001 From: witzig Date: Thu, 2 Mar 2017 22:49:28 +0100 Subject: [PATCH] Update archive.js Ups. --- routes/archive.js | 1 + 1 file changed, 1 insertion(+) 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';