make tests a bit happier

This commit is contained in:
Sam 2018-02-01 15:56:22 +11:00
parent 41986cdb2f
commit 60ee9a4ccf
1 changed files with 1 additions and 1 deletions

View File

@ -219,7 +219,7 @@ export function setup(opts, siteSettings, state) {
typographer: siteSettings.enable_markdown_typographer typographer: siteSettings.enable_markdown_typographer
}); });
opts.engine.linkify.tlds(siteSettings.markdown_linkify_tlds.split('|')); opts.engine.linkify.tlds((siteSettings.markdown_linkify_tlds || '').split('|'));
setupUrlDecoding(opts.engine); setupUrlDecoding(opts.engine);
setupHoister(opts.engine); setupHoister(opts.engine);