Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
markdown: Pass individual arguments to parse_with_options.
evykassirer66a56b8862ab
diff --git a/web/src/markdown.js b/web/src/markdown.jsindex fd97dbb8d96..046b87ec981 100644--- a/web/src/markdown.js+++ b/web/src/markdown.js@@ -106,7 +106,7 @@ function content_contains_backend_only_syntax({content, get_linkifier_map}) {);}-function parse_with_options({raw_content, helper_config, options}) {+function parse_with_options(raw_content, helper_config, options) {// Given the raw markdown content of a message (raw_content)// we return the HTML content (content) and flags.// Our caller passes a helper_config object that has several@@ -663,7 +663,7 @@ export function parse({raw_content, helper_config}) {preprocessors: [preprocess_code_blocks, preprocess_translate_emoticons],};- return parse_with_options({raw_content, helper_config, options});+ return parse_with_options(raw_content, helper_config, options);}// NOTE: Everything below this line is likely to be web-specific