Follow-up for 9a11a8b3 to fix qunit tests

Follow-up for 9a11a8b3 to fix qunit tests

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 447b504..116eadb 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
@@ -287,10 +287,14 @@ export function setup(opts, siteSettings, state) {
     breaks: opts.discourse.features.newline,
     xhtmlOut: false,
     linkify: siteSettings.enable_markdown_linkify,
-    typographer: siteSettings.enable_markdown_typographer,
-    quotes: siteSettings.markdown_typographer_quotation_marks.split("|")
+    typographer: siteSettings.enable_markdown_typographer
   });
 
+  const quotation_marks = siteSettings.markdown_typographer_quotation_marks;
+  if (quotation_marks) {
+    opts.engine.options.quotes = quotation_marks.split("|");
+  }
+
   opts.engine.linkify.tlds(
     (siteSettings.markdown_linkify_tlds || "").split("|")
   );

GitHub sha: 4a095b28