I have chat messages displayed like this:

  {{#each msg}}
    {{&gt; chatMsg}}
  {{/each}}


When users enter the chat I add a document to the collection with user joins the chat. When a user rapidly reenters and leaves the chat I don't want to duplicate user joins the chat over and over again. I want to display something like user joins the chat x3.

Is there a way to do this on the client side by hooking into renderList? I know I can change the doc on the server side but it seems unnecessarily intensive.


Question: StackOverflow code snippet horizontal scrolling broken WebKit
Answer: I made the word-wrap: break-word; style apply to the child &lt;p&gt; element of .post-text rather than the whole thing.