<%- p.content %>
<% var media = []; try { media = JSON.parse(p.media_json || '[]'); } catch (e) { media = []; } %>
<% media.filter(function(m){ return !m.type || /^image\//.test(m.type); }).forEach(function(m){ %>

<% }); %>
<% if (p.url) { %>
<%= t('tl.view_original') %>
<% } %>
<% if (p.boosted) { %>
<% } else { %>
<% } %>