Follow-up for 9a11a8b3
to fix qunit tests
This commit is contained in:
parent
9a11a8b33b
commit
4a095b286b
|
@ -287,10 +287,14 @@ export function setup(opts, siteSettings, state) {
|
||||||
breaks: opts.discourse.features.newline,
|
breaks: opts.discourse.features.newline,
|
||||||
xhtmlOut: false,
|
xhtmlOut: false,
|
||||||
linkify: siteSettings.enable_markdown_linkify,
|
linkify: siteSettings.enable_markdown_linkify,
|
||||||
typographer: siteSettings.enable_markdown_typographer,
|
typographer: siteSettings.enable_markdown_typographer
|
||||||
quotes: siteSettings.markdown_typographer_quotation_marks.split("|")
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
const quotation_marks = siteSettings.markdown_typographer_quotation_marks;
|
||||||
|
if (quotation_marks) {
|
||||||
|
opts.engine.options.quotes = quotation_marks.split("|");
|
||||||
|
}
|
||||||
|
|
||||||
opts.engine.linkify.tlds(
|
opts.engine.linkify.tlds(
|
||||||
(siteSettings.markdown_linkify_tlds || "").split("|")
|
(siteSettings.markdown_linkify_tlds || "").split("|")
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue