mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 04:03:57 -06:00
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,
|
||||
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("|")
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user