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.

unreads: Use _html naming convention for content rendered as HTML.

apoorvapendsea7664187df68
diff --git a/web/src/unread_ops.ts b/web/src/unread_ops.ts
index e5ce50189ef..d966a7b0197 100644
--- a/web/src/unread_ops.ts
+++ b/web/src/unread_ops.ts
@@ -135,7 +135,7 @@ function handle_skipped_unsubscribed_streams(
"conjunction",
);
const rendered_html = render_skipped_marking_unread({
- streams: formatted_stream_list_text,
+ streams_html: formatted_stream_list_text,
});
$container.html(rendered_html);
};
diff --git a/web/templates/skipped_marking_unread.hbs b/web/templates/skipped_marking_unread.hbs
index 9a2863db4ff..6784e33beba 100644
--- a/web/templates/skipped_marking_unread.hbs
+++ b/web/templates/skipped_marking_unread.hbs
@@ -1,4 +1,4 @@
{{#tr}}
Because you are not subscribed to <z-streams></z-streams>, messages in this channel were not marked as unread.
- {{#*inline "z-streams"}}<strong>{{{streams}}}</strong>{{/inline}}
+ {{#*inline "z-streams"}}<strong>{{{streams_html}}}</strong>{{/inline}}
{{/tr}}