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.

templates: Fix <br> → <br /> to be parseable by FormatJS.

Anders Kaseorgd381b4463eee
diff --git a/static/templates/compose_all_everyone.hbs b/static/templates/compose_all_everyone.hbs
index 0a207651c2b..6700f811aca 100644
--- a/static/templates/compose_all_everyone.hbs
+++ b/static/templates/compose_all_everyone.hbs
@@ -2,9 +2,9 @@
<span class="compose-all-everyone-msg">
{{#tr}}
Are you sure you want to mention all <strong>{count}</strong> people in this stream?
- <br>
+ <br />
This will send email and mobile push notifications to most of those <strong>{count}</strong> users.
- <br>
+ <br />
If you don't want to do that, please edit your message to remove the <strong>@{mention}</strong> mention.
{{/tr}}
</span>
diff --git a/static/templates/compose_announce.hbs b/static/templates/compose_announce.hbs
index 79d1e851ff9..c8f2c199769 100644
--- a/static/templates/compose_announce.hbs
+++ b/static/templates/compose_announce.hbs
@@ -2,7 +2,7 @@
<span class="compose-announce-msg">
{{#tr}}
This stream is reserved for <strong>announcements</strong>.
- <br>
+ <br />
Are you sure you want to message all <strong>{count}</strong> people in this stream?
{{/tr}}
</span>