mirror of
https://github.com/zulip/zulip.git
synced 2025-11-07 07:23:22 +00:00
Properly escape stream/subject in left sidebar recent subjects narrows.
(imported from commit 4154d0dcd69af66b3a6bb07678c64e5eb39e6b07)
This commit is contained in:
@@ -158,6 +158,7 @@ function rebuild_recent_subjects(stream, subject) {
|
||||
if (subject === subject_obj.canon_subject) {
|
||||
active_orig_subject = subject_obj.subject;
|
||||
}
|
||||
subject_obj.url = narrow.by_stream_subject_uri(stream, subject_obj.subject);
|
||||
});
|
||||
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<ul class='expanded_subjects' data-stream='{{stream}}'>
|
||||
{{#each subjects}}
|
||||
<li class='expanded_subject' data-name='{{subject}}'>
|
||||
<a href='#narrow/stream/{{../stream}}/subject/{{subject}}'>
|
||||
<a href='{{url}}'>
|
||||
{{subject}}
|
||||
<span class="subject_count {{#if is_zero}}zero_count{{/if}}">
|
||||
(<span class="value">{{unread}}</span>)
|
||||
|
||||
Reference in New Issue
Block a user