Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

fenced_code: Remove unused argument from stash_func calls.

sbansal19995a758c74e43b
diff --git a/web/shared/src/fenced_code.js b/web/shared/src/fenced_code.js
index d7fd066f73a..0a73fcff980 100644
--- a/web/shared/src/fenced_code.js
+++ b/web/shared/src/fenced_code.js
@@ -137,7 +137,7 @@ export function process_fenced_code(content) {
done() {
const text = wrap_tex(lines.join("\n"));
- const placeholder = stash_func(text, true);
+ const placeholder = stash_func(text);
output_lines.push("", placeholder, "");
handler_stack.pop();
},
@@ -174,7 +174,7 @@ export function process_fenced_code(content) {
done() {
const text = wrap_code(lines.join("\n"), lang);
// insert safe HTML that is passed through the parsing
- const placeholder = stash_func(text, true);
+ const placeholder = stash_func(text);
output_lines.push("", placeholder, "");
handler_stack.pop();
},