Update archive.js

Ups.
This commit is contained in:
witzig 2017-03-02 22:49:28 +01:00 committed by GitHub
parent fa9a3de863
commit 9f191bd7da

View file

@ -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';