<%= content_tag_for(:article, news_article) do %>
  <% if display == "expanded" %>
    <div class="img"><%= link_to image_tag("evil_placeholder.png"), public_document_path(news_article) %></div>
  <% end %>
  <div class="text">
    <h2><%= link_to news_article.title, public_document_path(news_article), class: "title" %></h2>
    <% if display != "compact" %>
      <p class="summary">
        <%= news_article.summary %>
      </p>
    <% end %>
    <div class="metadata">
      <span class="published_at">posted <%= render_datetime_microformat(news_article, :published_at) do %>
          <%= time_ago_in_words(news_article.published_at) %> ago
        <% end %>
      </span>
      <% unless news_article.policy_areas.length.zero? %>
        <span class="policy_area"><%= news_article.policy_areas.map { |pa| link_to pa.name, policy_area_path(pa) }.to_sentence.html_safe %></span>
      <% end %>
    </div>
  </div>
<% end %>
<%= content_tag_for(:article, news_article) do %>
  <% if display == "expanded" %>
    <div class="img"><%= link_to image_tag("evil_placeholder.png"), public_document_path(news_article) %></div>
  <% end %>
  <div class="text">
    <h2><%= link_to news_article.title, public_document_path(news_article), class: "title" %></h2>
    <% if display != "compact" %>
      <p class="summary">
        <%= news_article.summary %>
      </p>
    <% end %>
    <div class="metadata">
      <span class="published_at">posted <%= render_datetime_microformat(news_article, :published_at) do %>
          <%= time_ago_in_words(news_article.published_at) %> ago
        <% end %>
      </span>
      <% unless news_article.policy_areas.length.zero? %>
        <span class="policy_area"><%= news_article.policy_areas.uniq.map { |pa| link_to pa.name, policy_area_path(pa) }.to_sentence.html_safe %></span>
      <% end %>
    </div>
  </div>
<% end %>
Fix bug with Chris's stupidity.
Fix bug with Chris's stupidity.

I wrote some tests, made the fixes, took out one of the fixes and then
committed 2b820135c975872a188dea07847b5274d62b1471. Like a fool.
