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.

marked: Fix typo in guard clause.

Kislay Vermac56cc14539b7
diff --git a/web/third/marked/lib/marked.cjs b/web/third/marked/lib/marked.cjs
index 5f5ab5f5915..133a791fed3 100644
--- a/web/third/marked/lib/marked.cjs
+++ b/web/third/marked/lib/marked.cjs
@@ -940,7 +940,7 @@ InlineLexer.prototype.stream = function (streamName, orig) {
InlineLexer.prototype.stream_topic = function (streamName, topic, orig) {
orig = escape(orig);
- if (typeof this.options.streamHandler !== 'function')
+ if (typeof this.options.streamTopicHandler !== 'function')
return orig;
var handled = this.options.streamTopicHandler(streamName, topic);