<% // FEP-044f embedded quote card: the quoted post itself (author + content + // first image), nested under a note — the web mirror of the Shaer QuoteCard. // `q` is the resolved snapshot from noteQuote(p.quote_json). var _qa = q.author || {}; var _qm = Array.isArray(q.media) ? q.media.filter(function (m) { return m && m.url && (!m.type || /^image\//.test(m.type)); }) : []; %>
<% if (_qa.icon) { %><% } %> <%- emojiName(_qa.name || _qa.handle || '', _qa.emojis) %> <% if (_qa.handle) { %><%= _qa.handle %><% } %>
<% if (q.content) { %>
<%- emojiHtml(q.content, q.emojis) %>
<% } %> <% if (_qm.length) { %><% } %>