Files
once-campfire/app/views/users/_mention.html.erb
2026-07-20 15:10:54 +02:00

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>