From 60ee9a4ccf67420bc89b0a19221320b5a193d96b Mon Sep 17 00:00:00 2001 From: Sam Date: Thu, 1 Feb 2018 15:56:22 +1100 Subject: [PATCH] make tests a bit happier --- .../pretty-text/engines/discourse-markdown-it.js.es6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/pretty-text/engines/discourse-markdown-it.js.es6 b/app/assets/javascripts/pretty-text/engines/discourse-markdown-it.js.es6 index 0565004f93c..ecec3b16978 100644 --- a/app/assets/javascripts/pretty-text/engines/discourse-markdown-it.js.es6 +++ b/app/assets/javascripts/pretty-text/engines/discourse-markdown-it.js.es6 @@ -219,7 +219,7 @@ export function setup(opts, siteSettings, state) { 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); setupHoister(opts.engine);