mirror of
https://github.com/basecamp/once-campfire.git
synced 2026-09-22 00:04:55 +09:00
5 lines
290 B
Plaintext
5 lines
290 B
Plaintext
<%# A span rather than a div: mentions render inline inside the <p> paragraphs
|
|
the editor produces, and block elements would make the browser split the
|
|
paragraph when parsing %>
|
|
<span class="mention" sgid="<%= user.attachable_sgid %>"><%= avatar_tag user %> <%= user.name %></span>
|